Refactor parts of Plane into a plane-common
crate (DIS-2967)
#2250
Annotations
450 errors and 16 warnings
the method `clone` exists for struct `Ref<'_, Option<CertificatePair>>`, but its trait bounds were not satisfied:
plane/src/proxy/cert_manager.rs#L242
error[E0599]: the method `clone` exists for struct `Ref<'_, Option<CertificatePair>>`, but its trait bounds were not satisfied
--> plane/src/proxy/cert_manager.rs:242:48
|
242 | let last_current_cert = send_cert.borrow().clone();
| ^^^^^ method cannot be called on `Ref<'_, Option<CertificatePair>>` due to unsatisfied trait bounds
|
::: plane/src/proxy/cert_pair.rs:42:1
|
42 | pub struct CertificatePair {
| -------------------------- doesn't satisfy `_: Sized`
|
= note: the following trait bounds were not satisfied:
`proxy::cert_pair::CertificatePair: std::marker::Sized`
which is required by `std::option::Option<proxy::cert_pair::CertificatePair>: std::clone::Clone`
note: the trait `std::marker::Sized` must be implemented
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/marker.rs:146:1
|
the method `clone` exists for struct `Ref<'_, Option<CertificatePair>>`, but its trait bounds were not satisfied:
plane/src/proxy/cert_manager.rs#L242
error[E0599]: the method `clone` exists for struct `Ref<'_, Option<CertificatePair>>`, but its trait bounds were not satisfied
--> plane/src/proxy/cert_manager.rs:242:48
|
242 | let last_current_cert = send_cert.borrow().clone();
| ^^^^^ method cannot be called on `Ref<'_, Option<CertificatePair>>` due to unsatisfied trait bounds
|
::: plane/src/proxy/cert_pair.rs:42:1
|
42 | pub struct CertificatePair {
| -------------------------- doesn't satisfy `_: Sized`
|
= note: the following trait bounds were not satisfied:
`proxy::cert_pair::CertificatePair: std::marker::Sized`
which is required by `std::option::Option<proxy::cert_pair::CertificatePair>: std::clone::Clone`
note: the trait `std::marker::Sized` must be implemented
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/marker.rs:146:1
|
type annotations needed:
plane/src/drone/key_manager.rs#L92
error[E0282]: type annotations needed
--> plane/src/drone/key_manager.rs:92:42
|
92 | if let Err(err) = sender.send(request) {
| ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
|
type annotations needed:
plane/src/drone/key_manager.rs#L92
error[E0282]: type annotations needed
--> plane/src/drone/key_manager.rs:92:42
|
92 | if let Err(err) = sender.send(request) {
| ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
|
type annotations needed:
plane/src/dns/mod.rs#L115
error[E0282]: type annotations needed
--> plane/src/dns/mod.rs:115:29
|
115 | entry.get().subscribe()
| ^^^^^^^^^ cannot infer type for type parameter `V` declared on the enum `Entry`
|
type annotations needed:
plane/src/dns/mod.rs#L115
error[E0282]: type annotations needed
--> plane/src/dns/mod.rs:115:29
|
115 | entry.get().subscribe()
| ^^^^^^^^^ cannot infer type for type parameter `V` declared on the enum `Entry`
|
no method named `or_status` found for enum `std::option::Option` in the current scope:
plane/src/controller/proxy.rs#L306
error[E0599]: no method named `or_status` found for enum `std::option::Option` in the current scope
--> plane/src/controller/proxy.rs:306:53
|
306 | let cluster: ClusterName = cluster.parse().ok().or_status(
| ---------------------^^^^^^^^^ method not found in `Option<_>`
|
::: plane/src/controller/error.rs:56:8
|
56 | fn or_status(
| --------- the method is available for `std::option::Option<_>` here
|
= help: items from traits can only be used if the trait is in scope
help: trait `IntoApiError` which provides `or_status` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::controller::error::IntoApiError;
|
|
no method named `or_status` found for enum `std::option::Option` in the current scope:
plane/src/controller/proxy.rs#L306
error[E0599]: no method named `or_status` found for enum `std::option::Option` in the current scope
--> plane/src/controller/proxy.rs:306:53
|
306 | let cluster: ClusterName = cluster.parse().ok().or_status(
| ---------------------^^^^^^^^^ method not found in `Option<_>`
|
::: plane/src/controller/error.rs:56:8
|
56 | fn or_status(
| --------- the method is available for `std::option::Option<_>` here
|
= help: items from traits can only be used if the trait is in scope
help: trait `IntoApiError` which provides `or_status` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::controller::error::IntoApiError;
|
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>, hyper::HeaderMap) -> impl futures_util::Future<Output = std::result::Result<axum::response::Sse<impl futures_util::Stream<Item = std::result::Result<axum::response::sse::Event, std::convert::Infallible>>>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status_stream}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L255
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>, hyper::HeaderMap) -> impl futures_util::Future<Output = std::result::Result<axum::response::Sse<impl futures_util::Stream<Item = std::result::Result<axum::response::sse::Event, std::convert::Infallible>>>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status_stream}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:255:21
|
255 | get(handle_backend_status_stream),
| --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>, HeaderMap) -> ... {handle_backend_status_stream}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-8769091953639215932.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L252
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:252:46
|
252 | .route("/b/:backend/status", get(handle_backend_status))
| --- ^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_backend_status}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-24866199444219135.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<&'static str>, hyper::Response<axum::body::Body>>> {controller::connect::handle_revoke}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L230
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<&'static str>, hyper::Response<axum::body::Body>>> {controller::connect::handle_revoke}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:230:22
|
230 | post(handle_revoke), // (TODO) does not notify proxies, see handler function for details
| ---- ^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>, Json<{type error}>) -> impl Future<Output = Result<Json<&str>, ...>> {handle_revoke}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-6375548651516452258.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_hard_terminate}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L226
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_hard_terminate}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:226:22
|
226 | post(terminate::handle_hard_terminate),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_hard_terminate}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-9267315080035677696.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_soft_terminate}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L222
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_soft_terminate}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:222:22
|
222 | post(terminate::handle_soft_terminate),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_soft_terminate}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-7249337406753571881.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>, hyper::HeaderMap) -> impl futures_util::Future<Output = std::result::Result<axum::response::Sse<impl futures_util::Stream<Item = std::result::Result<axum::response::sse::Event, std::convert::Infallible>>>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status_stream}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L255
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>, hyper::HeaderMap) -> impl futures_util::Future<Output = std::result::Result<axum::response::Sse<impl futures_util::Stream<Item = std::result::Result<axum::response::sse::Event, std::convert::Infallible>>>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status_stream}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:255:21
|
255 | get(handle_backend_status_stream),
| --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>, HeaderMap) -> ... {handle_backend_status_stream}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-7991277555615855686.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<({type error}, {type error})>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::drain::handle_drain}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L219
error[E0277]: the trait bound `fn(axum::extract::Path<({type error}, {type error})>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::drain::handle_drain}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:219:55
|
219 | .route("/c/:cluster/d/:drone/drain", post(handle_drain))
| ---- ^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<({type error}, {type error})>, State<Controller>) -> impl Future<Output = ...> {handle_drain}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-7871119876940046159.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::connect::handle_connect}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L218
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::connect::handle_connect}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:218:37
|
218 | .route("/connect", post(handle_connect))
| ---- ^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>, Json<{type error}>) -> impl Future<Output = Result<Json<...>, ...>> {handle_connect}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-14045359788078263808.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L252
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::backend_state::handle_backend_status}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:252:46
|
252 | .route("/b/:backend/status", get(handle_backend_status))
| --- ^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_backend_status}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-11808465840343294392.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<std::string::String>, axum::extract::State<{type error}>, axum::extract::ConnectInfo<std::net::SocketAddr>, axum::extract::WebSocketUpgrade) -> impl futures_util::Future<Output = std::result::Result<impl axum::response::IntoResponse, hyper::Response<axum::body::Body>>> {controller::proxy::handle_proxy_socket}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L216
error[E0277]: the trait bound `fn(axum::extract::Path<std::string::String>, axum::extract::State<{type error}>, axum::extract::ConnectInfo<std::net::SocketAddr>, axum::extract::WebSocketUpgrade) -> impl futures_util::Future<Output = std::result::Result<impl axum::response::IntoResponse, hyper::Response<axum::body::Body>>> {controller::proxy::handle_proxy_socket}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:216:52
|
216 | .route("/c/:cluster/proxy-socket", get(handle_proxy_socket))
| --- ^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<String>, State<{type error}>, ConnectInfo<SocketAddr>, WebSocketUpgrade) -> ... {handle_proxy_socket}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-1053930141353974911.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::cluster_state::handle_cluster_state}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L214
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::cluster_state::handle_cluster_state}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:214:45
|
214 | .route("/c/:cluster/state", get(handle_cluster_state))
| --- ^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_cluster_state}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-13405820602442635445.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::status}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L213
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::status}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:213:35
|
213 | .route("/status", get(status))
| --- ^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>) -> impl Future<Output = Result<Json<{type error}>, Response<Body>>> {status}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-ece090f5434a41f3.long-type-8870827979367786221.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<&'static str>, hyper::Response<axum::body::Body>>> {controller::connect::handle_revoke}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L230
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<&'static str>, hyper::Response<axum::body::Body>>> {controller::connect::handle_revoke}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:230:22
|
230 | post(handle_revoke), // (TODO) does not notify proxies, see handler function for details
| ---- ^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>, Json<{type error}>) -> impl Future<Output = Result<Json<&str>, ...>> {handle_revoke}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-16075308854222434700.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_hard_terminate}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L226
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_hard_terminate}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:226:22
|
226 | post(terminate::handle_hard_terminate),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_hard_terminate}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-16423948332840009985.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_soft_terminate}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L222
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<()>, hyper::Response<axum::body::Body>>> {controller::terminate::handle_soft_terminate}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:222:22
|
222 | post(terminate::handle_soft_terminate),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_soft_terminate}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-6861136088140925461.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the `?` operator can only be used on `Result`s in an async function that returns `Result`:
plane/src/controller/mod.rs#L99
error[E0277]: the `?` operator can only be used on `Result`s in an async function that returns `Result`
--> plane/src/controller/mod.rs:99:62
|
97 | pub async fn start(db: PlaneDatabase, controller_id: ControllerName) -> Result<Self> {
| __________________________________________________________________________________________-
98 | | // Wait until we have sent the initial heartbeat.
99 | | db.controller().heartbeat(&controller_id, true).await?;
| | ^ this `?` produces `_`, which is incompatible with `std::result::Result<controller::HeartbeatSender, anyhow::Error>`
... |
120 | | })
121 | | }
| |_____- this function returns a `Result`
|
= help: the trait `std::ops::FromResidual<_>` is not implemented for `std::result::Result<controller::HeartbeatSender, anyhow::Error>`
= help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>`
|
the trait bound `fn(axum::extract::Path<({type error}, {type error})>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::drain::handle_drain}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L219
error[E0277]: the trait bound `fn(axum::extract::Path<({type error}, {type error})>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::drain::handle_drain}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:219:55
|
219 | .route("/c/:cluster/d/:drone/drain", post(handle_drain))
| ---- ^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<({type error}, {type error})>, State<Controller>) -> impl Future<Output = ...> {handle_drain}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-12156627660185126285.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::connect::handle_connect}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L218
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>, axum::Json<{type error}>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::connect::handle_connect}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:218:37
|
218 | .route("/connect", post(handle_connect))
| ---- ^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>, Json<{type error}>) -> impl Future<Output = Result<Json<...>, ...>> {handle_connect}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-12716281448496860055.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::post`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:443:1
|
443 | top_level_handler_fn!(post, POST);
| ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `post`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<std::string::String>, axum::extract::State<{type error}>, axum::extract::ConnectInfo<std::net::SocketAddr>, axum::extract::WebSocketUpgrade) -> impl futures_util::Future<Output = std::result::Result<impl axum::response::IntoResponse, hyper::Response<axum::body::Body>>> {controller::proxy::handle_proxy_socket}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L216
error[E0277]: the trait bound `fn(axum::extract::Path<std::string::String>, axum::extract::State<{type error}>, axum::extract::ConnectInfo<std::net::SocketAddr>, axum::extract::WebSocketUpgrade) -> impl futures_util::Future<Output = std::result::Result<impl axum::response::IntoResponse, hyper::Response<axum::body::Body>>> {controller::proxy::handle_proxy_socket}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:216:52
|
216 | .route("/c/:cluster/proxy-socket", get(handle_proxy_socket))
| --- ^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<String>, State<{type error}>, ConnectInfo<SocketAddr>, WebSocketUpgrade) -> ... {handle_proxy_socket}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-7496830177482858057.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::cluster_state::handle_cluster_state}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L214
error[E0277]: the trait bound `fn(axum::extract::Path<{type error}>, axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::cluster_state::handle_cluster_state}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:214:45
|
214 | .route("/c/:cluster/state", get(handle_cluster_state))
| --- ^^^^^^^^^^^^^^^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(Path<{type error}>, State<Controller>) -> impl Future<Output = Result<..., ...>> {handle_cluster_state}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-13714083568198407722.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `fn(axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::status}: axum::handler::Handler<_, _>` is not satisfied:
plane/src/controller/mod.rs#L213
error[E0277]: the trait bound `fn(axum::extract::State<controller::core::Controller>) -> impl futures_util::Future<Output = std::result::Result<axum::Json<{type error}>, hyper::Response<axum::body::Body>>> {controller::status}: axum::handler::Handler<_, _>` is not satisfied
--> plane/src/controller/mod.rs:213:35
|
213 | .route("/status", get(status))
| --- ^^^^^^ the trait `axum::handler::Handler<_, _>` is not implemented for fn item `fn(State<Controller>) -> impl Future<Output = Result<Json<{type error}>, Response<Body>>> {status}`
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/plane/plane/target/debug/deps/plane-9f2faf8e79d3e695.long-type-18068071785122761368.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: Consider using `#[axum::debug_handler]` to improve the error message
= help: the following other types implement trait `axum::handler::Handler<T, S>`:
`axum::handler::Layered<L, H, T, S>` implements `axum::handler::Handler<T, S>`
`axum::routing::MethodRouter<S>` implements `axum::handler::Handler<(), S>`
note: required by a bound in `axum::routing::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/method_routing.rs:439:1
|
439 | top_level_handler_fn!(get, GET);
| ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^
| | |
| | required by a bound in this function
| required by this bound in `get`
= note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the `?` operator can only be used on `Result`s in an async function that returns `Result`:
plane/src/controller/mod.rs#L99
error[E0277]: the `?` operator can only be used on `Result`s in an async function that returns `Result`
--> plane/src/controller/mod.rs:99:62
|
97 | pub async fn start(db: PlaneDatabase, controller_id: ControllerName) -> Result<Self> {
| __________________________________________________________________________________________-
98 | | // Wait until we have sent the initial heartbeat.
99 | | db.controller().heartbeat(&controller_id, true).await?;
| | ^ this `?` produces `_`, which is incompatible with `std::result::Result<controller::HeartbeatSender, anyhow::Error>`
... |
120 | | })
121 | | }
| |_____- this function returns a `Result`
|
= help: the trait `std::ops::FromResidual<_>` is not implemented for `std::result::Result<controller::HeartbeatSender, anyhow::Error>`
= help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>`
|
failed to resolve: unresolved import:
plane/src/drone/mod.rs#L292
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/mod.rs:292:20
|
292 | #[serde(with = "crate::serialization::serialize_optional_duration_as_seconds")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
292 | #[serde(with = plane_client::serialization)]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: consider importing this module
|
1 + use plane_client::serialization::serialize_optional_duration_as_seconds;
|
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/mod.rs#L56
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/mod.rs:56:20
|
56 | #[serde(with = "crate::serialization::serialize_optional_duration_as_seconds")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
56 | #[serde(with = plane_client::serialization)]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: consider importing this module
|
1 + use plane_client::serialization::serialize_optional_duration_as_seconds;
|
|
cannot find type `BackendMetricsMessage` in this scope:
plane/src/database/backend.rs#L475
error[E0412]: cannot find type `BackendMetricsMessage` in this scope
--> plane/src/database/backend.rs:475:50
|
475 | pub async fn publish_metrics(&self, metrics: BackendMetricsMessage) -> sqlx::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendMetricsMessage;
|
|
cannot find type `BackendMetricsMessage` in this scope:
plane/src/database/backend.rs#L31
error[E0412]: cannot find type `BackendMetricsMessage` in this scope
--> plane/src/database/backend.rs:31:48
|
31 | impl super::subscribe::NotificationPayload for BackendMetricsMessage {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendMetricsMessage;
|
|
cannot find type `BackendActionMessage` in this scope:
plane/src/database/backend.rs#L25
error[E0412]: cannot find type `BackendActionMessage` in this scope
--> plane/src/database/backend.rs:25:48
|
25 | impl super::subscribe::NotificationPayload for BackendActionMessage {
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendActionMessage;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/mod.rs#L345
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/mod.rs:345:33
|
345 | pub default_cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L343
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:343:13
|
343 | pub id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
343 | pub id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
failed to resolve: use of undeclared type `PlaneClient`:
plane/src/controller/mod.rs#L335
error[E0433]: failed to resolve: use of undeclared type `PlaneClient`
--> plane/src/controller/mod.rs:335:9
|
335 | PlaneClient::new(base_url)
| ^^^^^^^^^^^ use of undeclared type `PlaneClient`
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
cannot find type `PlaneClient` in this scope:
plane/src/controller/mod.rs#L333
error[E0412]: cannot find type `PlaneClient` in this scope
--> plane/src/controller/mod.rs:333:29
|
333 | pub fn client(&self) -> PlaneClient {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L322
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:322:26
|
322 | pub fn id(&self) -> &ControllerName {
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
322 | pub fn id(&self) -> &Controller {
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/mod.rs#L178
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/mod.rs:178:33
|
178 | default_cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L176
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:176:13
|
176 | id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
176 | id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L138
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:138:20
|
138 | controller_id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
138 | controller_id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L97
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:97:58
|
97 | pub async fn start(db: PlaneDatabase, controller_id: ControllerName) -> Result<Self> {
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
97 | pub async fn start(db: PlaneDatabase, controller_id: Controller) -> Result<Self> {
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L93
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:93:20
|
93 | controller_id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
93 | controller_id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/controller/mod.rs#L74
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/controller/mod.rs:74:15
|
74 | hash: PLANE_GIT_HASH.to_string(),
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/controller/mod.rs#L73
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/controller/mod.rs:73:18
|
73 | version: PLANE_VERSION.to_string(),
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
cannot find struct, variant or union type `StatusResponse` in this scope:
plane/src/controller/mod.rs#L71
error[E0422]: cannot find struct, variant or union type `StatusResponse` in this scope
--> plane/src/controller/mod.rs:71:13
|
71 | Ok(Json(StatusResponse {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::StatusResponse;
|
|
cannot find type `StatusResponse` in this scope:
plane/src/controller/mod.rs#L64
error[E0412]: cannot find type `StatusResponse` in this scope
--> plane/src/controller/mod.rs:64:18
|
64 | ) -> Result<Json<StatusResponse>, Response> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::StatusResponse;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L52
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:52:28
|
52 | Path(backend_id): Path<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L44
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:44:28
|
44 | Path(backend_id): Path<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
failed to resolve: use of undeclared type `TerminationReason`:
plane/src/controller/terminate.rs#L34
error[E0433]: failed to resolve: use of undeclared type `TerminationReason`
--> plane/src/controller/terminate.rs:34:25
|
34 | reason: TerminationReason::External,
| ^^^^^^^^^^^^^^^^^ use of undeclared type `TerminationReason`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationReason;
|
|
failed to resolve: use of undeclared type `BackendAction`:
plane/src/controller/terminate.rs#L32
error[E0433]: failed to resolve: use of undeclared type `BackendAction`
--> plane/src/controller/terminate.rs:32:14
|
32 | &BackendAction::Terminate {
| ^^^^^^^^^^^^^ use of undeclared type `BackendAction`
|
help: consider importing this enum
|
1 + use plane_client::protocol::BackendAction;
|
|
failed to resolve: use of undeclared type `TerminationKind`:
plane/src/controller/terminate.rs#L24
error[E0433]: failed to resolve: use of undeclared type `TerminationKind`
--> plane/src/controller/terminate.rs:24:9
|
24 | TerminationKind::Soft
| ^^^^^^^^^^^^^^^ use of undeclared type `TerminationKind`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationKind;
|
|
failed to resolve: use of undeclared type `TerminationKind`:
plane/src/controller/terminate.rs#L22
error[E0433]: failed to resolve: use of undeclared type `TerminationKind`
--> plane/src/controller/terminate.rs:22:9
|
22 | TerminationKind::Hard
| ^^^^^^^^^^^^^^^ use of undeclared type `TerminationKind`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationKind;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L10
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:10:18
|
10 | backend_id: &BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/proxy.rs#L309
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/proxy.rs:309:9
|
309 | ApiErrorKind::InvalidClusterName,
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L306
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:306:18
|
306 | let cluster: ClusterName = cluster.parse().ok().or_status(
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L302
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:302:30
|
302 | State(controller): State<Controller>,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L294
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:294:76
|
294 | pub async fn proxy_socket(cluster: ClusterName, ws: WebSocket, controller: Controller, ip: IpAddr) {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L294
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:294:36
|
294 | pub async fn proxy_socket(cluster: ClusterName, ws: WebSocket, controller: Controller, ip: IpAddr) {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L278
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:278:37
|
278 | socket.send(MessageToProxy::BackendRemoved { backend: backend_id })?;
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `BackendName`:
plane/src/controller/proxy.rs#L271
error[E0433]: failed to resolve: use of undeclared type `BackendName`
--> plane/src/controller/proxy.rs:271:48
|
271 | let backend_id = match BackendName::try_from(backend_id) {
| ^^^^^^^^^^^ use of undeclared type `BackendName`
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L268
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:268:34
|
268 | payload: BackendState::Terminated { .. },
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find struct, variant or union type `Notification` in this scope:
plane/src/controller/proxy.rs#L266
error[E0422]: cannot find struct, variant or union type `Notification` in this scope
--> plane/src/controller/proxy.rs:266:26
|
266 | Some(Notification {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Notification;
|
|
cannot find type `BackendState` in this scope:
plane/src/controller/proxy.rs#L251
error[E0412]: cannot find type `BackendState` in this scope
--> plane/src/controller/proxy.rs:251:46
|
251 | let mut event_subscription: Subscription<BackendState> = controller.db.subscribe();
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find type `Subscription` in this scope:
plane/src/controller/proxy.rs#L251
error[E0412]: cannot find type `Subscription` in this scope
--> plane/src/controller/proxy.rs:251:33
|
251 | let mut event_subscription: Subscription<BackendState> = controller.db.subscribe();
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Subscription;
|
|
cannot find function `new_server` in this scope:
plane/src/controller/proxy.rs#L244
error[E0425]: cannot find function `new_server` in this scope
--> plane/src/controller/proxy.rs:244:22
|
244 | let mut socket = new_server(ws, controller.id.to_string()).await?;
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use plane_client::typed_socket::server::new_server;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L241
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:241:17
|
241 | controller: Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L239
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:239:14
|
239 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L229
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:229:43
|
229 | if let Err(err) = socket.send(MessageToProxy::CertManagerResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L211
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:211:17
|
211 | CertManagerRequest::ReleaseCertLease => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/controller/proxy.rs#L209
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/controller/proxy.rs:209:21
|
209 | CertManagerResponse::SetTxtRecordResponse { accepted }
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L194
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:194:17
|
194 | CertManagerRequest::SetTxtRecord { txt_value } => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/controller/proxy.rs#L192
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/controller/proxy.rs:192:21
|
192 | CertManagerResponse::CertLeaseResponse { accepted }
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L178
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:178:17
|
178 | CertManagerRequest::CertLeaseRequest => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L176
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:176:9
|
176 | MessageFromProxy::CertManagerRequest(cert_manager_request) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L162
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:162:33
|
162 | socket.send(MessageToProxy::BackendRemoved {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L152
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:152:9
|
152 | MessageFromProxy::KeepAlive(backend_id) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find struct, variant or union type `RouteInfoRequest` in this scope:
plane/src/controller/proxy.rs#L149
error[E0422]: cannot find struct, variant or union type `RouteInfoRequest` in this scope
--> plane/src/controller/proxy.rs:149:44
|
149 | MessageFromProxy::RouteInfoRequest(RouteInfoRequest { token }) => {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageFromProxy::RouteInfoRequest;
|
1 + use plane_client::protocol::RouteInfoRequest;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L149
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:149:9
|
149 | MessageFromProxy::RouteInfoRequest(RouteInfoRequest { token }) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find type `NodeId` in this scope:
plane/src/controller/proxy.rs#L146
error[E0412]: cannot find type `NodeId` in this scope
--> plane/src/controller/proxy.rs:146:14
|
146 | node_id: NodeId,
| ^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::NodeId;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L145
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:145:15
|
145 | cluster: &ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `MessageToProxy` in this scope:
plane/src/controller/proxy.rs#L144
error[E0412]: cannot find type `MessageToProxy` in this scope
--> plane/src/controller/proxy.rs:144:30
|
144 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `TypedSocket` in this scope:
plane/src/controller/proxy.rs#L144
error[E0412]: cannot find type `TypedSocket` in this scope
--> plane/src/controller/proxy.rs:144:18
|
144 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::typed_socket::TypedSocket;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L143
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:143:18
|
143 | controller: &Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `MessageFromProxy` in this scope:
plane/src/controller/proxy.rs#L142
error[E0412]: cannot find type `MessageFromProxy` in this scope
--> plane/src/controller/proxy.rs:142:14
|
142 | message: MessageFromProxy,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L129
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:129:43
|
129 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L125
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:125:28
|
125 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L124
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:124:12
|
124 | Ok(RouteInfoResult::NotFound) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L107
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:107:44
|
107 | ... let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L106
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:106:27
|
106 | | BackendState::HardTerminating { .. } => {
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L105
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:105:27
|
105 | | BackendState::Terminating { .. }
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L104
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:104:25
|
104 | BackendState::Terminated { .. }
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L92
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:92:44
|
92 | ... let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: unresolved import:
plane/src/drone/mod.rs#L292
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/mod.rs:292:20
|
292 | #[serde(with = "crate::serialization::serialize_optional_duration_as_seconds")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
292 | #[serde(with = plane_client::serialization)]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: consider importing this module
|
1 + use plane_client::serialization::serialize_optional_duration_as_seconds;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L90
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:90:25
|
90 | BackendState::Ready { address } => {
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/mod.rs#L56
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/mod.rs:56:20
|
56 | #[serde(with = "crate::serialization::serialize_optional_duration_as_seconds")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
56 | #[serde(with = plane_client::serialization)]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: consider importing this module
|
1 + use plane_client::serialization::serialize_optional_duration_as_seconds;
|
|
cannot find type `BackendMetricsMessage` in this scope:
plane/src/database/backend.rs#L475
error[E0412]: cannot find type `BackendMetricsMessage` in this scope
--> plane/src/database/backend.rs:475:50
|
475 | pub async fn publish_metrics(&self, metrics: BackendMetricsMessage) -> sqlx::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendMetricsMessage;
|
|
cannot find struct, variant or union type `Notification` in this scope:
plane/src/controller/proxy.rs#L87
error[E0422]: cannot find struct, variant or union type `Notification` in this scope
--> plane/src/controller/proxy.rs:87:25
|
87 | let Notification { payload, .. } = result;
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Notification;
|
|
cannot find type `BackendMetricsMessage` in this scope:
plane/src/database/backend.rs#L31
error[E0412]: cannot find type `BackendMetricsMessage` in this scope
--> plane/src/database/backend.rs:31:48
|
31 | impl super::subscribe::NotificationPayload for BackendMetricsMessage {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendMetricsMessage;
|
|
cannot find type `BackendActionMessage` in this scope:
plane/src/database/backend.rs#L25
error[E0412]: cannot find type `BackendActionMessage` in this scope
--> plane/src/database/backend.rs:25:48
|
25 | impl super::subscribe::NotificationPayload for BackendActionMessage {
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::BackendActionMessage;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L64
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:64:40
|
64 | let socket = socket.sender(MessageToProxy::RouteInfoResponse);
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L59
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:59:17
|
59 | RouteInfoResult::Pending(_) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/mod.rs#L345
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/mod.rs:345:33
|
345 | pub default_cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L54
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:54:51
|
54 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L343
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:343:13
|
343 | pub id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
343 | pub id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
failed to resolve: use of undeclared type `PlaneClient`:
plane/src/controller/mod.rs#L335
error[E0433]: failed to resolve: use of undeclared type `PlaneClient`
--> plane/src/controller/mod.rs:335:9
|
335 | PlaneClient::new(base_url)
| ^^^^^^^^^^^ use of undeclared type `PlaneClient`
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L50
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:50:36
|
50 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
cannot find type `PlaneClient` in this scope:
plane/src/controller/mod.rs#L333
error[E0412]: cannot find type `PlaneClient` in this scope
--> plane/src/controller/mod.rs:333:29
|
333 | pub fn client(&self) -> PlaneClient {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L322
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:322:26
|
322 | pub fn id(&self) -> &ControllerName {
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
322 | pub fn id(&self) -> &Controller {
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/mod.rs#L178
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/mod.rs:178:33
|
178 | default_cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L49
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:49:17
|
49 | RouteInfoResult::NotFound => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L176
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:176:13
|
176 | id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
176 | id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L138
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:138:20
|
138 | controller_id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
138 | controller_id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L97
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:97:58
|
97 | pub async fn start(db: PlaneDatabase, controller_id: ControllerName) -> Result<Self> {
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
97 | pub async fn start(db: PlaneDatabase, controller_id: Controller) -> Result<Self> {
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L44
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:44:51
|
44 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `ControllerName` in this scope:
plane/src/controller/mod.rs#L93
error[E0412]: cannot find type `ControllerName` in this scope
--> plane/src/controller/mod.rs:93:20
|
93 | controller_id: ControllerName,
| ^^^^^^^^^^^^^^
|
::: plane/src/controller/core.rs:13:1
|
13 | pub struct Controller {
| --------------------- similarly named struct `Controller` defined here
|
help: a struct with a similar name exists
|
93 | controller_id: Controller,
| ~~~~~~~~~~
help: consider importing this struct
|
1 + use plane_client::names::ControllerName;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/controller/mod.rs#L74
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/controller/mod.rs:74:15
|
74 | hash: PLANE_GIT_HASH.to_string(),
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/controller/mod.rs#L73
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/controller/mod.rs:73:18
|
73 | version: PLANE_VERSION.to_string(),
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L40
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:40:36
|
40 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
cannot find struct, variant or union type `StatusResponse` in this scope:
plane/src/controller/mod.rs#L71
error[E0422]: cannot find struct, variant or union type `StatusResponse` in this scope
--> plane/src/controller/mod.rs:71:13
|
71 | Ok(Json(StatusResponse {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::StatusResponse;
|
|
cannot find type `StatusResponse` in this scope:
plane/src/controller/mod.rs#L64
error[E0412]: cannot find type `StatusResponse` in this scope
--> plane/src/controller/mod.rs:64:18
|
64 | ) -> Result<Json<StatusResponse>, Response> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::StatusResponse;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L39
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:39:17
|
39 | RouteInfoResult::Available(route_info) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L52
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:52:28
|
52 | Path(backend_id): Path<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L44
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:44:28
|
44 | Path(backend_id): Path<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `BackendState` in this scope:
plane/src/controller/proxy.rs#L31
error[E0412]: cannot find type `BackendState` in this scope
--> plane/src/controller/proxy.rs:31:39
|
31 | let mut sub: Subscription<BackendState> =
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: use of undeclared type `TerminationReason`:
plane/src/controller/terminate.rs#L34
error[E0433]: failed to resolve: use of undeclared type `TerminationReason`
--> plane/src/controller/terminate.rs:34:25
|
34 | reason: TerminationReason::External,
| ^^^^^^^^^^^^^^^^^ use of undeclared type `TerminationReason`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationReason;
|
|
failed to resolve: use of undeclared type `BackendAction`:
plane/src/controller/terminate.rs#L32
error[E0433]: failed to resolve: use of undeclared type `BackendAction`
--> plane/src/controller/terminate.rs:32:14
|
32 | &BackendAction::Terminate {
| ^^^^^^^^^^^^^ use of undeclared type `BackendAction`
|
help: consider importing this enum
|
1 + use plane_client::protocol::BackendAction;
|
|
cannot find type `Subscription` in this scope:
plane/src/controller/proxy.rs#L31
error[E0412]: cannot find type `Subscription` in this scope
--> plane/src/controller/proxy.rs:31:26
|
31 | let mut sub: Subscription<BackendState> =
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Subscription;
|
|
failed to resolve: use of undeclared type `TerminationKind`:
plane/src/controller/terminate.rs#L24
error[E0433]: failed to resolve: use of undeclared type `TerminationKind`
--> plane/src/controller/terminate.rs:24:9
|
24 | TerminationKind::Soft
| ^^^^^^^^^^^^^^^ use of undeclared type `TerminationKind`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationKind;
|
|
failed to resolve: use of undeclared type `TerminationKind`:
plane/src/controller/terminate.rs#L22
error[E0433]: failed to resolve: use of undeclared type `TerminationKind`
--> plane/src/controller/terminate.rs:22:9
|
22 | TerminationKind::Hard
| ^^^^^^^^^^^^^^^ use of undeclared type `TerminationKind`
|
help: consider importing this enum
|
1 + use plane_client::types::TerminationKind;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L29
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:29:12
|
29 | Ok(RouteInfoResult::Pending(partial_route_info)) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find type `BackendName` in this scope:
plane/src/controller/terminate.rs#L10
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/controller/terminate.rs:10:18
|
10 | backend_id: &BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/proxy.rs#L309
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/proxy.rs:309:9
|
309 | ApiErrorKind::InvalidClusterName,
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L306
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:306:18
|
306 | let cluster: ClusterName = cluster.parse().ok().or_status(
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L25
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:25:43
|
25 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L302
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:302:30
|
302 | State(controller): State<Controller>,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L294
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:294:76
|
294 | pub async fn proxy_socket(cluster: ClusterName, ws: WebSocket, controller: Controller, ip: IpAddr) {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L21
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:21:28
|
21 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L294
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:294:36
|
294 | pub async fn proxy_socket(cluster: ClusterName, ws: WebSocket, controller: Controller, ip: IpAddr) {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L278
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:278:37
|
278 | socket.send(MessageToProxy::BackendRemoved { backend: backend_id })?;
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `BackendName`:
plane/src/controller/proxy.rs#L271
error[E0433]: failed to resolve: use of undeclared type `BackendName`
--> plane/src/controller/proxy.rs:271:48
|
271 | let backend_id = match BackendName::try_from(backend_id) {
| ^^^^^^^^^^^ use of undeclared type `BackendName`
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L20
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:20:12
|
20 | Ok(RouteInfoResult::Available(route_info)) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L268
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:268:34
|
268 | payload: BackendState::Terminated { .. },
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find struct, variant or union type `Notification` in this scope:
plane/src/controller/proxy.rs#L266
error[E0422]: cannot find struct, variant or union type `Notification` in this scope
--> plane/src/controller/proxy.rs:266:26
|
266 | Some(Notification {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Notification;
|
|
cannot find type `MessageToProxy` in this scope:
plane/src/controller/proxy.rs#L13
error[E0412]: cannot find type `MessageToProxy` in this scope
--> plane/src/controller/proxy.rs:13:30
|
13 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `BackendState` in this scope:
plane/src/controller/proxy.rs#L251
error[E0412]: cannot find type `BackendState` in this scope
--> plane/src/controller/proxy.rs:251:46
|
251 | let mut event_subscription: Subscription<BackendState> = controller.db.subscribe();
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find type `Subscription` in this scope:
plane/src/controller/proxy.rs#L251
error[E0412]: cannot find type `Subscription` in this scope
--> plane/src/controller/proxy.rs:251:33
|
251 | let mut event_subscription: Subscription<BackendState> = controller.db.subscribe();
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Subscription;
|
|
cannot find function `new_server` in this scope:
plane/src/controller/proxy.rs#L244
error[E0425]: cannot find function `new_server` in this scope
--> plane/src/controller/proxy.rs:244:22
|
244 | let mut socket = new_server(ws, controller.id.to_string()).await?;
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use plane_client::typed_socket::server::new_server;
|
|
cannot find type `TypedSocket` in this scope:
plane/src/controller/proxy.rs#L13
error[E0412]: cannot find type `TypedSocket` in this scope
--> plane/src/controller/proxy.rs:13:18
|
13 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::typed_socket::TypedSocket;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L241
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:241:17
|
241 | controller: Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L239
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:239:14
|
239 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L12
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:12:18
|
12 | controller: &Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L229
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:229:43
|
229 | if let Err(err) = socket.send(MessageToProxy::CertManagerResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L211
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:211:17
|
211 | CertManagerRequest::ReleaseCertLease => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/controller/proxy.rs#L209
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/controller/proxy.rs:209:21
|
209 | CertManagerResponse::SetTxtRecordResponse { accepted }
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
cannot find type `BearerToken` in this scope:
plane/src/controller/proxy.rs#L11
error[E0412]: cannot find type `BearerToken` in this scope
--> plane/src/controller/proxy.rs:11:12
|
11 | token: BearerToken,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::BearerToken;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L194
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:194:17
|
194 | CertManagerRequest::SetTxtRecord { txt_value } => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/controller/proxy.rs#L192
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/controller/proxy.rs:192:21
|
192 | CertManagerResponse::CertLeaseResponse { accepted }
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L86
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:86:15
|
86 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/controller/proxy.rs#L178
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/controller/proxy.rs:178:17
|
178 | CertManagerRequest::CertLeaseRequest => {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L176
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:176:9
|
176 | MessageFromProxy::CertManagerRequest(cert_manager_request) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L162
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:162:33
|
162 | socket.send(MessageToProxy::BackendRemoved {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L69
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:69:15
|
69 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L152
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:152:9
|
152 | MessageFromProxy::KeepAlive(backend_id) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find struct, variant or union type `RouteInfoRequest` in this scope:
plane/src/controller/proxy.rs#L149
error[E0422]: cannot find struct, variant or union type `RouteInfoRequest` in this scope
--> plane/src/controller/proxy.rs:149:44
|
149 | MessageFromProxy::RouteInfoRequest(RouteInfoRequest { token }) => {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageFromProxy::RouteInfoRequest;
|
1 + use plane_client::protocol::RouteInfoRequest;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L60
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:60:15
|
60 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/controller/proxy.rs#L149
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/controller/proxy.rs:149:9
|
149 | MessageFromProxy::RouteInfoRequest(RouteInfoRequest { token }) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find type `NodeId` in this scope:
plane/src/controller/proxy.rs#L146
error[E0412]: cannot find type `NodeId` in this scope
--> plane/src/controller/proxy.rs:146:14
|
146 | node_id: NodeId,
| ^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::NodeId;
|
|
cannot find type `ClusterName` in this scope:
plane/src/controller/proxy.rs#L145
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/controller/proxy.rs:145:15
|
145 | cluster: &ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/error.rs#L52
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/error.rs:52:13
|
52 | ApiErrorKind::Other,
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find type `MessageToProxy` in this scope:
plane/src/controller/proxy.rs#L144
error[E0412]: cannot find type `MessageToProxy` in this scope
--> plane/src/controller/proxy.rs:144:30
|
144 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `TypedSocket` in this scope:
plane/src/controller/proxy.rs#L144
error[E0412]: cannot find type `TypedSocket` in this scope
--> plane/src/controller/proxy.rs:144:18
|
144 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::typed_socket::TypedSocket;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/error.rs#L45
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/error.rs:45:61
|
45 | self.or_status(StatusCode::NOT_FOUND, user_message, ApiErrorKind::NotFound)
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L143
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:143:18
|
143 | controller: &Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `MessageFromProxy` in this scope:
plane/src/controller/proxy.rs#L142
error[E0412]: cannot find type `MessageFromProxy` in this scope
--> plane/src/controller/proxy.rs:142:14
|
142 | message: MessageFromProxy,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L129
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:129:43
|
129 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find struct, variant or union type `ApiError` in this scope:
plane/src/controller/error.rs#L34
error[E0422]: cannot find struct, variant or union type `ApiError` in this scope
--> plane/src/controller/error.rs:34:18
|
34 | let result = ApiError {
| ^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::ApiError;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L125
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:125:28
|
125 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L124
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:124:12
|
124 | Ok(RouteInfoResult::NotFound) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find function `random_string` in this scope:
plane/src/controller/error.rs#L18
error[E0425]: cannot find function `random_string` in this scope
--> plane/src/controller/error.rs:18:18
|
18 | let err_id = random_string();
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use plane_client::util::random_string;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L107
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:107:44
|
107 | ... let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L106
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:106:27
|
106 | | BackendState::HardTerminating { .. } => {
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L105
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:105:27
|
105 | | BackendState::Terminating { .. }
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L16
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:16:11
|
16 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L104
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:104:25
|
104 | BackendState::Terminated { .. }
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L92
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:92:44
|
92 | ... let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
cannot find type `ClusterState` in this scope:
plane/src/admin.rs#L376
error[E0412]: cannot find type `ClusterState` in this scope
--> plane/src/admin.rs:376:43
|
376 | pub fn show_cluster_state(cluster_state: &ClusterState) {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterState;
|
|
failed to resolve: use of undeclared type `BackendState`:
plane/src/controller/proxy.rs#L90
error[E0433]: failed to resolve: use of undeclared type `BackendState`
--> plane/src/controller/proxy.rs:90:25
|
90 | BackendState::Ready { address } => {
| ^^^^^^^^^^^^ use of undeclared type `BackendState`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
cannot find struct, variant or union type `Notification` in this scope:
plane/src/controller/proxy.rs#L87
error[E0422]: cannot find struct, variant or union type `Notification` in this scope
--> plane/src/controller/proxy.rs:87:25
|
87 | let Notification { payload, .. } = result;
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Notification;
|
|
cannot find type `NodeState` in this scope:
plane/src/admin.rs#L365
error[E0412]: cannot find type `NodeState` in this scope
--> plane/src/admin.rs:365:31
|
365 | pub fn show_node_state(node: &NodeState) {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use bollard::models::NodeState;
|
1 + use plane_client::types::NodeState;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L64
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:64:40
|
64 | let socket = socket.sender(MessageToProxy::RouteInfoResponse);
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L59
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:59:17
|
59 | RouteInfoResult::Pending(_) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L54
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:54:51
|
54 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L358
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:358:41
|
358 | print_status_stream(stream, BackendStatus::Terminated).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L50
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:50:36
|
50 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L49
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:49:17
|
49 | RouteInfoResult::NotFound => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/admin.rs#L341
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/admin.rs:341:21
|
341 | CertManagerResponse::SetTxtRecordResponse { accepted },
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L44
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:44:51
|
44 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L40
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:40:36
|
40 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/admin.rs#L340
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/admin.rs:340:17
|
340 | MessageToProxy::CertManagerResponse(
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L39
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:39:17
|
39 | RouteInfoResult::Available(route_info) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
cannot find type `BackendState` in this scope:
plane/src/controller/proxy.rs#L31
error[E0412]: cannot find type `BackendState` in this scope
--> plane/src/controller/proxy.rs:31:39
|
31 | let mut sub: Subscription<BackendState> =
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendState;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/admin.rs#L332
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/admin.rs:332:17
|
332 | CertManagerRequest::SetTxtRecord {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
cannot find type `Subscription` in this scope:
plane/src/controller/proxy.rs#L31
error[E0412]: cannot find type `Subscription` in this scope
--> plane/src/controller/proxy.rs:31:26
|
31 | let mut sub: Subscription<BackendState> =
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::database::subscribe::Subscription;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L29
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:29:12
|
29 | Ok(RouteInfoResult::Pending(partial_route_info)) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/controller/proxy.rs#L25
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/controller/proxy.rs:25:43
|
25 | if let Err(err) = socket.send(MessageToProxy::RouteInfoResponse(response)) {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/admin.rs#L331
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/admin.rs:331:23
|
331 | conn.send(MessageFromProxy::CertManagerRequest(
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find struct, variant or union type `RouteInfoResponse` in this scope:
plane/src/controller/proxy.rs#L21
error[E0422]: cannot find struct, variant or union type `RouteInfoResponse` in this scope
--> plane/src/controller/proxy.rs:21:28
|
21 | let response = RouteInfoResponse {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use plane_client::protocol::MessageToProxy::RouteInfoResponse;
|
1 + use plane_client::protocol::RouteInfoResponse;
|
|
failed to resolve: use of undeclared type `RouteInfoResult`:
plane/src/controller/proxy.rs#L20
error[E0433]: failed to resolve: use of undeclared type `RouteInfoResult`
--> plane/src/controller/proxy.rs:20:12
|
20 | Ok(RouteInfoResult::Available(route_info)) => {
| ^^^^^^^^^^^^^^^ use of undeclared type `RouteInfoResult`
|
help: consider importing this enum
|
1 + use crate::database::backend::RouteInfoResult;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/admin.rs#L317
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/admin.rs:317:53
|
317 | MessageToProxy::CertManagerResponse(CertManagerResponse::CertLeaseResponse {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
cannot find type `MessageToProxy` in this scope:
plane/src/controller/proxy.rs#L13
error[E0412]: cannot find type `MessageToProxy` in this scope
--> plane/src/controller/proxy.rs:13:30
|
13 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `TypedSocket` in this scope:
plane/src/controller/proxy.rs#L13
error[E0412]: cannot find type `TypedSocket` in this scope
--> plane/src/controller/proxy.rs:13:18
|
13 | socket: &mut TypedSocket<MessageToProxy>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::typed_socket::TypedSocket;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/admin.rs#L317
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/admin.rs:317:17
|
317 | MessageToProxy::CertManagerResponse(CertManagerResponse::CertLeaseResponse {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find type `Controller` in this scope:
plane/src/controller/proxy.rs#L12
error[E0412]: cannot find type `Controller` in this scope
--> plane/src/controller/proxy.rs:12:18
|
12 | controller: &Controller,
| ^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::controller::Controller;
|
1 + use crate::database::controller::Controller;
|
|
cannot find type `BearerToken` in this scope:
plane/src/controller/proxy.rs#L11
error[E0412]: cannot find type `BearerToken` in this scope
--> plane/src/controller/proxy.rs:11:12
|
11 | token: BearerToken,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::BearerToken;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/admin.rs#L311
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/admin.rs:311:17
|
311 | CertManagerRequest::CertLeaseRequest,
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L86
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:86:15
|
86 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L69
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:69:15
|
69 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/admin.rs#L310
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/admin.rs:310:23
|
310 | conn.send(MessageFromProxy::CertManagerRequest(
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L60
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:60:15
|
60 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/error.rs#L52
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/error.rs:52:13
|
52 | ApiErrorKind::Other,
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
failed to resolve: use of undeclared type `ProxyName`:
plane/src/admin.rs#L307
error[E0433]: failed to resolve: use of undeclared type `ProxyName`
--> plane/src/admin.rs:307:30
|
307 | let proxy_name = ProxyName::new_random();
| ^^^^^^^^^ use of undeclared type `ProxyName`
|
help: consider importing this struct
|
1 + use plane_client::names::ProxyName;
|
|
failed to resolve: use of undeclared type `ApiErrorKind`:
plane/src/controller/error.rs#L45
error[E0433]: failed to resolve: use of undeclared type `ApiErrorKind`
--> plane/src/controller/error.rs:45:61
|
45 | self.or_status(StatusCode::NOT_FOUND, user_message, ApiErrorKind::NotFound)
| ^^^^^^^^^^^^ use of undeclared type `ApiErrorKind`
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find struct, variant or union type `ApiError` in this scope:
plane/src/controller/error.rs#L34
error[E0422]: cannot find struct, variant or union type `ApiError` in this scope
--> plane/src/controller/error.rs:34:18
|
34 | let result = ApiError {
| ^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::protocol::ApiError;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L291
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:291:17
|
291 | PLANE_GIT_HASH.bright_yellow()
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find function `random_string` in this scope:
plane/src/controller/error.rs#L18
error[E0425]: cannot find function `random_string` in this scope
--> plane/src/controller/error.rs:18:18
|
18 | let err_id = random_string();
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use plane_client::util::random_string;
|
|
cannot find type `ApiErrorKind` in this scope:
plane/src/controller/error.rs#L16
error[E0412]: cannot find type `ApiErrorKind` in this scope
--> plane/src/controller/error.rs:16:11
|
16 | code: ApiErrorKind,
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::protocol::ApiErrorKind;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L289
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:289:17
|
289 | PLANE_GIT_HASH.bright_green()
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find type `ClusterState` in this scope:
plane/src/admin.rs#L376
error[E0412]: cannot find type `ClusterState` in this scope
--> plane/src/admin.rs:376:43
|
376 | pub fn show_cluster_state(cluster_state: &ClusterState) {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterState;
|
|
cannot find type `NodeState` in this scope:
plane/src/admin.rs#L365
error[E0412]: cannot find type `NodeState` in this scope
--> plane/src/admin.rs:365:31
|
365 | pub fn show_node_state(node: &NodeState) {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use bollard::models::NodeState;
|
1 + use plane_client::types::NodeState;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L358
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:358:41
|
358 | print_status_stream(stream, BackendStatus::Terminated).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L288
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:288:49
|
288 | let client_hash = if status.hash == PLANE_GIT_HASH {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/admin.rs#L341
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/admin.rs:341:21
|
341 | CertManagerResponse::SetTxtRecordResponse { accepted },
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/admin.rs#L340
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/admin.rs:340:17
|
340 | MessageToProxy::CertManagerResponse(
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L285
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:285:17
|
285 | PLANE_VERSION.bright_yellow()
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/admin.rs#L332
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/admin.rs:332:17
|
332 | CertManagerRequest::SetTxtRecord {
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/admin.rs#L331
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/admin.rs:331:23
|
331 | conn.send(MessageFromProxy::CertManagerRequest(
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L283
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:283:17
|
283 | PLANE_VERSION.bright_green()
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
failed to resolve: use of undeclared type `CertManagerResponse`:
plane/src/admin.rs#L317
error[E0433]: failed to resolve: use of undeclared type `CertManagerResponse`
--> plane/src/admin.rs:317:53
|
317 | MessageToProxy::CertManagerResponse(CertManagerResponse::CertLeaseResponse {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerResponse`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerResponse;
|
|
failed to resolve: use of undeclared type `MessageToProxy`:
plane/src/admin.rs#L317
error[E0433]: failed to resolve: use of undeclared type `MessageToProxy`
--> plane/src/admin.rs:317:17
|
317 | MessageToProxy::CertManagerResponse(CertManagerResponse::CertLeaseResponse {
| ^^^^^^^^^^^^^^ use of undeclared type `MessageToProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageToProxy;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L282
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:282:55
|
282 | let client_version = if status.version == PLANE_VERSION {
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
failed to resolve: use of undeclared type `CertManagerRequest`:
plane/src/admin.rs#L311
error[E0433]: failed to resolve: use of undeclared type `CertManagerRequest`
--> plane/src/admin.rs:311:17
|
311 | CertManagerRequest::CertLeaseRequest,
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `CertManagerRequest`
|
help: consider importing this enum
|
1 + use plane_client::protocol::CertManagerRequest;
|
|
failed to resolve: use of undeclared type `MessageFromProxy`:
plane/src/admin.rs#L310
error[E0433]: failed to resolve: use of undeclared type `MessageFromProxy`
--> plane/src/admin.rs:310:23
|
310 | conn.send(MessageFromProxy::CertManagerRequest(
| ^^^^^^^^^^^^^^^^ use of undeclared type `MessageFromProxy`
|
help: consider importing this enum
|
1 + use plane_client::protocol::MessageFromProxy;
|
|
failed to resolve: use of undeclared type `ProxyName`:
plane/src/admin.rs#L307
error[E0433]: failed to resolve: use of undeclared type `ProxyName`
--> plane/src/admin.rs:307:30
|
307 | let proxy_name = ProxyName::new_random();
| ^^^^^^^^^ use of undeclared type `ProxyName`
|
help: consider importing this struct
|
1 + use plane_client::names::ProxyName;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L261
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:261:45
|
261 | print_status_stream(stream, BackendStatus::Terminated).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L291
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:291:17
|
291 | PLANE_GIT_HASH.bright_yellow()
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L289
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:289:17
|
289 | PLANE_GIT_HASH.bright_green()
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L240
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:240:45
|
240 | print_status_stream(stream, BackendStatus::Ready).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find value `PLANE_GIT_HASH` in this scope:
plane/src/admin.rs#L288
error[E0425]: cannot find value `PLANE_GIT_HASH` in this scope
--> plane/src/admin.rs:288:49
|
288 | let client_hash = if status.hash == PLANE_GIT_HASH {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_GIT_HASH;
|
1 + use plane_client::version::PLANE_GIT_HASH;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L285
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:285:17
|
285 | PLANE_VERSION.bright_yellow()
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
cannot find struct, variant or union type `ConnectRequest` in this scope:
plane/src/admin.rs#L211
error[E0422]: cannot find struct, variant or union type `ConnectRequest` in this scope
--> plane/src/admin.rs:211:33
|
211 | let spawn_request = ConnectRequest {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ConnectRequest;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L283
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:283:17
|
283 | PLANE_VERSION.bright_green()
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
cannot find value `PLANE_VERSION` in this scope:
plane/src/admin.rs#L282
error[E0425]: cannot find value `PLANE_VERSION` in this scope
--> plane/src/admin.rs:282:55
|
282 | let client_version = if status.version == PLANE_VERSION {
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::PLANE_VERSION;
|
1 + use plane_client::version::PLANE_VERSION;
|
|
cannot find struct, variant or union type `KeyConfig` in this scope:
plane/src/admin.rs#L207
error[E0422]: cannot find struct, variant or union type `KeyConfig` in this scope
--> plane/src/admin.rs:207:45
|
207 | let key_config = key.map(|name| KeyConfig {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use plane_client::types::KeyConfig;
|
1 + use trust_dns_server::config::dnssec::KeyConfig;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L261
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:261:45
|
261 | print_status_stream(stream, BackendStatus::Terminated).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
failed to resolve: use of undeclared type `BackendStatus`:
plane/src/admin.rs#L240
error[E0433]: failed to resolve: use of undeclared type `BackendStatus`
--> plane/src/admin.rs:240:45
|
240 | print_status_stream(stream, BackendStatus::Ready).await;
| ^^^^^^^^^^^^^ use of undeclared type `BackendStatus`
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find struct, variant or union type `SpawnConfig` in this scope:
plane/src/admin.rs#L196
error[E0422]: cannot find struct, variant or union type `SpawnConfig` in this scope
--> plane/src/admin.rs:196:32
|
196 | let spawn_config = SpawnConfig {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::SpawnConfig;
|
|
cannot find struct, variant or union type `ConnectRequest` in this scope:
plane/src/admin.rs#L211
error[E0422]: cannot find struct, variant or union type `ConnectRequest` in this scope
--> plane/src/admin.rs:211:33
|
211 | let spawn_request = ConnectRequest {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ConnectRequest;
|
|
cannot find struct, variant or union type `KeyConfig` in this scope:
plane/src/admin.rs#L207
error[E0422]: cannot find struct, variant or union type `KeyConfig` in this scope
--> plane/src/admin.rs:207:45
|
207 | let key_config = key.map(|name| KeyConfig {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use plane_client::types::KeyConfig;
|
1 + use trust_dns_server::config::dnssec::KeyConfig;
|
|
failed to resolve: use of undeclared type `Mount`:
plane/src/admin.rs#L194
error[E0433]: failed to resolve: use of undeclared type `Mount`
--> plane/src/admin.rs:194:47
|
194 | executor_config.mount = mount.map(Mount::Path);
| ^^^^^ use of undeclared type `Mount`
|
help: consider importing one of these items
|
1 + use bollard::models::Mount;
|
1 + use plane_client::types::Mount;
|
|
cannot find struct, variant or union type `SpawnConfig` in this scope:
plane/src/admin.rs#L196
error[E0422]: cannot find struct, variant or union type `SpawnConfig` in this scope
--> plane/src/admin.rs:196:32
|
196 | let spawn_config = SpawnConfig {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::SpawnConfig;
|
|
failed to resolve: use of undeclared type `Mount`:
plane/src/admin.rs#L194
error[E0433]: failed to resolve: use of undeclared type `Mount`
--> plane/src/admin.rs:194:47
|
194 | executor_config.mount = mount.map(Mount::Path);
| ^^^^^ use of undeclared type `Mount`
|
help: consider importing one of these items
|
1 + use bollard::models::Mount;
|
1 + use plane_client::types::Mount;
|
|
failed to resolve: use of undeclared type `DockerExecutorConfig`:
plane/src/admin.rs#L193
error[E0433]: failed to resolve: use of undeclared type `DockerExecutorConfig`
--> plane/src/admin.rs:193:39
|
193 | let mut executor_config = DockerExecutorConfig::from_image_with_defaults(image);
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DockerExecutorConfig`
|
help: consider importing this struct
|
1 + use plane_client::types::DockerExecutorConfig;
|
|
failed to resolve: use of undeclared type `DockerExecutorConfig`:
plane/src/admin.rs#L193
error[E0433]: failed to resolve: use of undeclared type `DockerExecutorConfig`
--> plane/src/admin.rs:193:39
|
193 | let mut executor_config = DockerExecutorConfig::from_image_with_defaults(image);
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DockerExecutorConfig`
|
help: consider importing this struct
|
1 + use plane_client::types::DockerExecutorConfig;
|
|
failed to resolve: use of undeclared type `PlaneClient`:
plane/src/admin.rs#L178
error[E0433]: failed to resolve: use of undeclared type `PlaneClient`
--> plane/src/admin.rs:178:18
|
178 | let client = PlaneClient::new(opts.controller);
| ^^^^^^^^^^^ use of undeclared type `PlaneClient`
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
failed to resolve: use of undeclared type `PlaneClient`:
plane/src/admin.rs#L178
error[E0433]: failed to resolve: use of undeclared type `PlaneClient`
--> plane/src/admin.rs:178:18
|
178 | let client = PlaneClient::new(opts.controller);
| ^^^^^^^^^^^ use of undeclared type `PlaneClient`
|
help: consider importing this struct
|
1 + use plane_client::PlaneClient;
|
|
cannot find type `PlaneClientError` in this scope:
plane/src/admin.rs#L177
error[E0412]: cannot find type `PlaneClientError` in this scope
--> plane/src/admin.rs:177:69
|
177 | pub async fn run_admin_command_inner(opts: AdminOpts) -> Result<(), PlaneClientError> {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
cannot find type `PlaneClientError` in this scope:
plane/src/admin.rs#L177
error[E0412]: cannot find type `PlaneClientError` in this scope
--> plane/src/admin.rs:177:69
|
177 | pub async fn run_admin_command_inner(opts: AdminOpts) -> Result<(), PlaneClientError> {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
cannot find type `BackendStatus` in this scope:
plane/src/admin.rs#L162
error[E0412]: cannot find type `BackendStatus` in this scope
--> plane/src/admin.rs:162:12
|
162 | until: BackendStatus,
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find type `BackendStatusStreamEntry` in this scope:
plane/src/admin.rs#L161
error[E0412]: cannot find type `BackendStatusStreamEntry` in this scope
--> plane/src/admin.rs:161:27
|
161 | mut stream: SseStream<BackendStatusStreamEntry>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::backend_state::BackendStatusStreamEntry;
|
|
cannot find type `BackendStatus` in this scope:
plane/src/admin.rs#L162
error[E0412]: cannot find type `BackendStatus` in this scope
--> plane/src/admin.rs:162:12
|
162 | until: BackendStatus,
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::types::BackendStatus;
|
|
cannot find type `SseStream` in this scope:
plane/src/admin.rs#L161
error[E0412]: cannot find type `SseStream` in this scope
--> plane/src/admin.rs:161:17
|
161 | mut stream: SseStream<BackendStatusStreamEntry>,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::sse::SseStream;
|
|
cannot find type `BackendStatusStreamEntry` in this scope:
plane/src/admin.rs#L161
error[E0412]: cannot find type `BackendStatusStreamEntry` in this scope
--> plane/src/admin.rs:161:27
|
161 | mut stream: SseStream<BackendStatusStreamEntry>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::backend_state::BackendStatusStreamEntry;
|
|
cannot find type `SseStream` in this scope:
plane/src/admin.rs#L161
error[E0412]: cannot find type `SseStream` in this scope
--> plane/src/admin.rs:161:17
|
161 | mut stream: SseStream<BackendStatusStreamEntry>,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::sse::SseStream;
|
|
failed to resolve: use of undeclared type `DronePoolName`:
plane/src/admin.rs#L111
error[E0433]: failed to resolve: use of undeclared type `DronePoolName`
--> plane/src/admin.rs:111:40
|
111 | #[clap(long, default_value_t = DronePoolName::default())]
| ^^^^^^^^^^^^^ use of undeclared type `DronePoolName`
|
help: consider importing this struct
|
1 + use plane_client::types::DronePoolName;
|
|
failed to resolve: use of undeclared type `DronePoolName`:
plane/src/admin.rs#L111
error[E0433]: failed to resolve: use of undeclared type `DronePoolName`
--> plane/src/admin.rs:111:40
|
111 | #[clap(long, default_value_t = DronePoolName::default())]
| ^^^^^^^^^^^^^ use of undeclared type `DronePoolName`
|
help: consider importing this struct
|
1 + use plane_client::types::DronePoolName;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L149
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:149:18
|
149 | backend: BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L146
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:146:18
|
146 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L142
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:142:18
|
142 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `DroneName` in this scope:
plane/src/admin.rs#L138
error[E0412]: cannot find type `DroneName` in this scope
--> plane/src/admin.rs:138:16
|
138 | drone: DroneName,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::DroneName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L135
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:135:18
|
135 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L125
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:125:18
|
125 | backend: BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `Subdomain` in this scope:
plane/src/admin.rs#L122
error[E0412]: cannot find type `Subdomain` in this scope
--> plane/src/admin.rs:122:27
|
122 | subdomain: Option<Subdomain>,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::Subdomain;
|
|
cannot find type `DronePoolName` in this scope:
plane/src/admin.rs#L112
error[E0412]: cannot find type `DronePoolName` in this scope
--> plane/src/admin.rs:112:15
|
112 | pool: DronePoolName,
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::DronePoolName;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L104
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:104:20
|
104 | id: Option<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L86
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:86:25
|
86 | cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L67
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:67:9
|
67 | PlaneClientError::SendFailed => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L60
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:60:9
|
60 | PlaneClientError::Tungstenite(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L53
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:53:9
|
53 | PlaneClientError::BadConfiguration(message) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L46
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:46:9
|
46 | PlaneClientError::ConnectFailed(message) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L37
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:37:9
|
37 | PlaneClientError::PlaneError(error, status) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L30
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:30:9
|
30 | PlaneClientError::UnexpectedStatus(status) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L23
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:23:9
|
23 | PlaneClientError::Json(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L16
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:16:9
|
16 | PlaneClientError::Url(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L9
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:9:9
|
9 | PlaneClientError::Http(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L149
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:149:18
|
149 | backend: BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `PlaneClientError` in this scope:
plane/src/admin.rs#L7
error[E0412]: cannot find type `PlaneClientError` in this scope
--> plane/src/admin.rs:7:23
|
7 | fn show_error(error: &PlaneClientError) {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L146
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:146:18
|
146 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L142
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:142:18
|
142 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `DroneName` in this scope:
plane/src/admin.rs#L138
error[E0412]: cannot find type `DroneName` in this scope
--> plane/src/admin.rs:138:16
|
138 | drone: DroneName,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::DroneName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L135
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:135:18
|
135 | cluster: ClusterName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L125
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:125:18
|
125 | backend: BackendName,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `Subdomain` in this scope:
plane/src/admin.rs#L122
error[E0412]: cannot find type `Subdomain` in this scope
--> plane/src/admin.rs:122:27
|
122 | subdomain: Option<Subdomain>,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::Subdomain;
|
|
cannot find type `DronePoolName` in this scope:
plane/src/admin.rs#L112
error[E0412]: cannot find type `DronePoolName` in this scope
--> plane/src/admin.rs:112:15
|
112 | pool: DronePoolName,
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::DronePoolName;
|
|
cannot find type `BackendName` in this scope:
plane/src/admin.rs#L104
error[E0412]: cannot find type `BackendName` in this scope
--> plane/src/admin.rs:104:20
|
104 | id: Option<BackendName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::names::BackendName;
|
|
cannot find type `ClusterName` in this scope:
plane/src/admin.rs#L86
error[E0412]: cannot find type `ClusterName` in this scope
--> plane/src/admin.rs:86:25
|
86 | cluster: Option<ClusterName>,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use plane_client::types::ClusterName;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L67
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:67:9
|
67 | PlaneClientError::SendFailed => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L60
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:60:9
|
60 | PlaneClientError::Tungstenite(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L53
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:53:9
|
53 | PlaneClientError::BadConfiguration(message) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L46
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:46:9
|
46 | PlaneClientError::ConnectFailed(message) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L37
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:37:9
|
37 | PlaneClientError::PlaneError(error, status) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L30
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:30:9
|
30 | PlaneClientError::UnexpectedStatus(status) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L23
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:23:9
|
23 | PlaneClientError::Json(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L16
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:16:9
|
16 | PlaneClientError::Url(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
failed to resolve: use of undeclared type `PlaneClientError`:
plane/src/admin.rs#L9
error[E0433]: failed to resolve: use of undeclared type `PlaneClientError`
--> plane/src/admin.rs:9:9
|
9 | PlaneClientError::Http(error) => {
| ^^^^^^^^^^^^^^^^ use of undeclared type `PlaneClientError`
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
cannot find type `PlaneClientError` in this scope:
plane/src/admin.rs#L7
error[E0412]: cannot find type `PlaneClientError` in this scope
--> plane/src/admin.rs:7:23
|
7 | fn show_error(error: &PlaneClientError) {
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use plane_client::PlaneClientError;
|
|
unresolved imports `crate::util::random_token`, `crate::util::ExponentialBackoff`:
plane/src/typed_unix_socket/client.rs#L2
error[E0432]: unresolved imports `crate::util::random_token`, `crate::util::ExponentialBackoff`
--> plane/src/typed_unix_socket/client.rs:2:19
|
2 | use crate::util::{random_token, ExponentialBackoff, GuardHandle};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
| |
| no `random_token` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/proxy/route_map.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/proxy/route_map.rs:2:5
|
2 | names::BackendName,
| ^^^^^ unresolved import
3 | protocol::{RouteInfo, RouteInfoRequest, RouteInfoResponse},
| ^^^^^^^^ unresolved import
4 | types::BearerToken,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::protocol::{RouteInfo, RouteInfoRequest, RouteInfoResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::BearerToken,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::types`:
plane/src/proxy/request.rs#L1
error[E0432]: unresolved import `crate::types`
--> plane/src/proxy/request.rs:1:12
|
1 | use crate::types::{BearerToken, ClusterName};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::names`, `crate::protocol`:
plane/src/proxy/proxy_server.rs#L6
error[E0432]: unresolved imports `crate::names`, `crate::protocol`
--> plane/src/proxy/proxy_server.rs:6:13
|
6 | use crate::{names::Name, protocol::RouteInfo, SERVER_NAME};
| ^^^^^ ^^^^^^^^ unresolved import
| |
| unresolved import
|
help: a similar path exists
|
6 | use crate::{plane_client::names::Name, protocol::RouteInfo, SERVER_NAME};
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | use crate::{names::Name, plane_client::protocol::RouteInfo, SERVER_NAME};
| ~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/proxy/proxy_connection.rs#L3
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/proxy/proxy_connection.rs:3:5
|
3 | client::PlaneClient,
| ^^^^^^ unresolved import
4 | names::ProxyName,
| ^^^^^ unresolved import
5 | protocol::{MessageFromProxy, MessageToProxy, RouteInfoRequest},
| ^^^^^^^^ unresolved import
6 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::ProxyName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{MessageFromProxy, MessageToProxy, RouteInfoRequest},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::names`:
plane/src/proxy/connection_monitor.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/proxy/connection_monitor.rs:1:51
|
1 | use crate::{heartbeat_consts::HEARTBEAT_INTERVAL, names::BackendName};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved imports `crate::names`, `crate::types`:
plane/src/proxy/command.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/proxy/command.rs:2:5
|
2 | names::{OrRandom, ProxyName},
| ^^^^^ unresolved import
3 | proxy::{AcmeConfig, AcmeEabConfiguration, ServerPortConfig},
4 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::{OrRandom, ProxyName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::log_types`:
plane/src/proxy/cert_pair.rs#L1
error[E0432]: unresolved import `crate::log_types`
--> plane/src/proxy/cert_pair.rs:1:12
|
1 | use crate::log_types::LoggableTime;
| ^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::log_types`
|
unresolved imports `crate::log_types`, `crate::protocol`, `crate::types`:
plane/src/proxy/cert_manager.rs#L3
error[E0432]: unresolved imports `crate::log_types`, `crate::protocol`, `crate::types`
--> plane/src/proxy/cert_manager.rs:3:5
|
3 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
4 | protocol::{CertManagerRequest, CertManagerResponse},
| ^^^^^^^^ unresolved import
5 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::{CertManagerRequest, CertManagerResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::types`:
plane/src/proxy/mod.rs#L4
error[E0432]: unresolved imports `crate::client`, `crate::types`
--> plane/src/proxy/mod.rs:4:13
|
4 | use crate::{client::PlaneClient, signals::wait_for_shutdown_signal, types::ClusterName};
| ^^^^^^ unresolved import ^^^^^ unresolved import
|
help: a similar path exists
|
4 | use crate::{hyper::client::PlaneClient, signals::wait_for_shutdown_signal, types::ClusterName};
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | use crate::{client::PlaneClient, signals::wait_for_shutdown_signal, plane_client::types::ClusterName};
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::util::random_string`:
plane/src/typed_unix_socket/mod.rs#L30
error[E0432]: unresolved import `crate::util::random_string`
--> plane/src/typed_unix_socket/mod.rs:30:9
|
30 | use crate::util::random_string;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `random_string` in `util`
|
unresolved import `crate::names`:
plane/src/proxy/mod.rs#L2
error[E0432]: unresolved import `crate::names`
--> plane/src/proxy/mod.rs:2:12
|
2 | use crate::names::ProxyName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved imports `crate::util::random_token`, `crate::util::ExponentialBackoff`:
plane/src/typed_unix_socket/client.rs#L2
error[E0432]: unresolved imports `crate::util::random_token`, `crate::util::ExponentialBackoff`
--> plane/src/typed_unix_socket/client.rs:2:19
|
2 | use crate::util::{random_token, ExponentialBackoff, GuardHandle};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
| |
| no `random_token` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/state_store.rs#L2
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/state_store.rs:2:5
|
2 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::{BackendEventId, BackendStateMessage},
| ^^^^^^^^ unresolved import
5 | types::BackendState,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::{BackendEventId, BackendStateMessage},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::BackendState,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/proxy/route_map.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/proxy/route_map.rs:2:5
|
2 | names::BackendName,
| ^^^^^ unresolved import
3 | protocol::{RouteInfo, RouteInfoRequest, RouteInfoResponse},
| ^^^^^^^^ unresolved import
4 | types::BearerToken,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::protocol::{RouteInfo, RouteInfoRequest, RouteInfoResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::BearerToken,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::types`:
plane/src/proxy/request.rs#L1
error[E0432]: unresolved import `crate::types`
--> plane/src/proxy/request.rs:1:12
|
1 | use crate::types::{BearerToken, ClusterName};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/unix_socket/mod.rs#L6
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/unix_socket/mod.rs:6:5
|
6 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
7 | names::BackendName,
| ^^^^^ unresolved import
8 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
9 | typed_unix_socket::client::TypedUnixSocketClient,
10 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ^^^^^ unresolved import
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
7 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
10 | plane_client::types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`:
plane/src/proxy/proxy_server.rs#L6
error[E0432]: unresolved imports `crate::names`, `crate::protocol`
--> plane/src/proxy/proxy_server.rs:6:13
|
6 | use crate::{names::Name, protocol::RouteInfo, SERVER_NAME};
| ^^^^^ ^^^^^^^^ unresolved import
| |
| unresolved import
|
help: a similar path exists
|
6 | use crate::{plane_client::names::Name, protocol::RouteInfo, SERVER_NAME};
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | use crate::{names::Name, plane_client::protocol::RouteInfo, SERVER_NAME};
| ~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/proxy/proxy_connection.rs#L3
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/proxy/proxy_connection.rs:3:5
|
3 | client::PlaneClient,
| ^^^^^^ unresolved import
4 | names::ProxyName,
| ^^^^^ unresolved import
5 | protocol::{MessageFromProxy, MessageToProxy, RouteInfoRequest},
| ^^^^^^^^ unresolved import
6 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::ProxyName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{MessageFromProxy, MessageToProxy, RouteInfoRequest},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/runtime/unix_socket/mod.rs#L10
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/unix_socket/mod.rs:10:5
|
10 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::names`:
plane/src/drone/runtime/docker/types.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/drone/runtime/docker/types.rs:1:12
|
1 | use crate::names::BackendName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved import `crate::names`:
plane/src/proxy/connection_monitor.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/proxy/connection_monitor.rs:1:51
|
1 | use crate::{heartbeat_consts::HEARTBEAT_INTERVAL, names::BackendName};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/wait_backend.rs#L1
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/wait_backend.rs:1:12
|
1 | use crate::types::backend_state::BackendError;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::names`, `crate::types`:
plane/src/proxy/command.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/proxy/command.rs:2:5
|
2 | names::{OrRandom, ProxyName},
| ^^^^^ unresolved import
3 | proxy::{AcmeConfig, AcmeEabConfiguration, ServerPortConfig},
4 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::{OrRandom, ProxyName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`:
plane/src/drone/runtime/docker/metrics.rs#L2
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`
--> plane/src/drone/runtime/docker/metrics.rs:2:13
|
2 | use crate::{database::backend::BackendMetricsMessage, names::BackendName};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^
| | |
| | unresolved import
| | help: a similar path exists: `plane_client::names`
| no `BackendMetricsMessage` in `database::backend`
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
|
unresolved import `crate::log_types`:
plane/src/proxy/cert_pair.rs#L1
error[E0432]: unresolved import `crate::log_types`
--> plane/src/proxy/cert_pair.rs:1:12
|
1 | use crate::log_types::LoggableTime;
| ^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::log_types`
|
unresolved imports `crate::log_types`, `crate::protocol`, `crate::types`:
plane/src/proxy/cert_manager.rs#L3
error[E0432]: unresolved imports `crate::log_types`, `crate::protocol`, `crate::types`
--> plane/src/proxy/cert_manager.rs:3:5
|
3 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
4 | protocol::{CertManagerRequest, CertManagerResponse},
| ^^^^^^^^ unresolved import
5 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::{CertManagerRequest, CertManagerResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/docker/commands.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/docker/commands.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{BearerToken, DockerExecutorConfig, Mount},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{BearerToken, DockerExecutorConfig, Mount},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::types`:
plane/src/proxy/mod.rs#L4
error[E0432]: unresolved imports `crate::client`, `crate::types`
--> plane/src/proxy/mod.rs:4:13
|
4 | use crate::{client::PlaneClient, signals::wait_for_shutdown_signal, types::ClusterName};
| ^^^^^^ unresolved import ^^^^^ unresolved import
|
help: a similar path exists
|
4 | use crate::{hyper::client::PlaneClient, signals::wait_for_shutdown_signal, types::ClusterName};
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | use crate::{client::PlaneClient, signals::wait_for_shutdown_signal, plane_client::types::ClusterName};
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::names`:
plane/src/proxy/mod.rs#L2
error[E0432]: unresolved import `crate::names`
--> plane/src/proxy/mod.rs:2:12
|
2 | use crate::names::ProxyName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/docker/mod.rs#L7
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/docker/mod.rs:7:5
|
7 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
...
10 | names::BackendName,
| ^^^^^ unresolved import
11 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
12 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ^^^^^ unresolved import
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
10 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
11 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::log_types`, `crate::names`, `crate::types`:
plane/src/drone/state_store.rs#L235
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::types`
--> plane/src/drone/state_store.rs:235:9
|
235 | log_types::BackendAddr,
| ^^^^^^^^^ unresolved import
236 | names::Name,
| ^^^^^ unresolved import
237 | types::{BackendStatus, TerminationReason},
| ^^^^^ unresolved import
|
help: a similar path exists
|
235 | plane_client::log_types::BackendAddr,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
236 | plane_client::names::Name,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
237 | plane_client::types::{BackendStatus, TerminationReason},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/state_store.rs#L2
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/state_store.rs:2:5
|
2 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::{BackendEventId, BackendStateMessage},
| ^^^^^^^^ unresolved import
5 | types::BackendState,
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::{BackendEventId, BackendStateMessage},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::BackendState,
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/mod.rs#L12
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/mod.rs:12:5
|
12 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/unix_socket/mod.rs#L6
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/unix_socket/mod.rs:6:5
|
6 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
7 | names::BackendName,
| ^^^^^ unresolved import
8 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
9 | typed_unix_socket::client::TypedUnixSocketClient,
10 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ^^^^^ unresolved import
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
7 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
10 | plane_client::types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/mod.rs#L2
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/mod.rs:2:5
|
2 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{backend_state::BackendError, BearerToken},
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{backend_state::BackendError, BearerToken},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/runtime/unix_socket/mod.rs#L10
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/unix_socket/mod.rs:10:5
|
10 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
failed to resolve: unresolved import:
plane/src/drone/runtime/mod.rs#L5
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/mod.rs:5:5
|
5 | types::{backend_state::BackendError, BearerToken},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::names`:
plane/src/drone/runtime/docker/types.rs#L34
error[E0432]: unresolved import `crate::names`
--> plane/src/drone/runtime/docker/types.rs:34:16
|
34 | use crate::names::{BackendName, Name};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/wait_backend.rs#L1
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/wait_backend.rs:1:12
|
1 | use crate::types::backend_state::BackendError;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/drone/key_manager.rs#L3
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/drone/key_manager.rs:3:5
|
3 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
4 | names::BackendName,
| ^^^^^ unresolved import
5 | protocol::{AcquiredKey, BackendAction, KeyDeadlines, RenewKeyRequest},
| ^^^^^^^^ unresolved import
6 | typed_socket::TypedSocketSender,
| ^^^^^^^^^^^^ unresolved import
7 | types::{backend_state::TerminationReason, TerminationKind},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{AcquiredKey, BackendAction, KeyDeadlines, RenewKeyRequest},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::typed_socket::TypedSocketSender,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
7 | plane_client::types::{backend_state::TerminationReason, TerminationKind},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::names`:
plane/src/drone/runtime/docker/types.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/drone/runtime/docker/types.rs:1:12
|
1 | use crate::names::BackendName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`:
plane/src/drone/runtime/docker/metrics.rs#L2
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`
--> plane/src/drone/runtime/docker/metrics.rs:2:13
|
2 | use crate::{database::backend::BackendMetricsMessage, names::BackendName};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^
| | |
| | unresolved import
| | help: a similar path exists: `plane_client::names`
| no `BackendMetricsMessage` in `database::backend`
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
|
failed to resolve: unresolved import:
plane/src/drone/key_manager.rs#L7
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/key_manager.rs:7:5
|
7 | types::{backend_state::TerminationReason, TerminationKind},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/docker/commands.rs#L298
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/docker/commands.rs:298:9
|
298 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
299 | names::Name,
| ^^^^^ unresolved import
300 | protocol::{AcquiredKey, KeyDeadlines},
| ^^^^^^^^ unresolved import
301 | types::{DockerExecutorConfig, KeyConfig, Mount},
| ^^^^^ unresolved import
|
help: a similar path exists
|
298 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
299 | plane_client::names::Name,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
300 | plane_client::protocol::{AcquiredKey, KeyDeadlines},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
301 | plane_client::types::{DockerExecutorConfig, KeyConfig, Mount},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/docker/commands.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/docker/commands.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{BearerToken, DockerExecutorConfig, Mount},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{BearerToken, DockerExecutorConfig, Mount},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::log_types`, `crate::protocol`, `crate::typed_socket`:
plane/src/drone/heartbeat.rs#L2
error[E0432]: unresolved imports `crate::log_types`, `crate::protocol`, `crate::typed_socket`
--> plane/src/drone/heartbeat.rs:2:43
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, log_types::LoggableTime, protocol::Heartbeat,
| ^^^^^^^^^ ^^^^^^^^ unresolved import
| |
| unresolved import
3 | typed_socket::TypedSocketSender,
| ^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, plane_client::log_types::LoggableTime, protocol::Heartbeat,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, log_types::LoggableTime, plane_client::protocol::Heartbeat,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::typed_socket::TypedSocketSender,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/docker/mod.rs#L7
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/docker/mod.rs:7:5
|
7 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
...
10 | names::BackendName,
| ^^^^^ unresolved import
11 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
12 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ^^^^^ unresolved import
|
= help: consider importing one of these items instead:
crate::drone::runtime::BackendMetricsMessage
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
10 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
11 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`:
plane/src/drone/executor.rs#L4
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`
--> plane/src/drone/executor.rs:4:5
|
4 | names::BackendName,
| ^^^^^ unresolved import
5 | protocol::{BackendAction, BackendEventId, BackendStateMessage},
| ^^^^^^^^ unresolved import
6 | types::{BackendState, BackendStatus, TerminationReason},
| ^^^^^ unresolved import
7 | util::{ExponentialBackoff, GuardHandle},
| ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
help: a similar path exists
|
4 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{BackendAction, BackendEventId, BackendStateMessage},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::{BackendState, BackendStatus, TerminationReason},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/runtime/docker/mod.rs#L12
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/docker/mod.rs:12:5
|
12 | types::{backend_state::BackendError, BearerToken, DockerExecutorConfig, PullPolicy},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/drone/runtime/mod.rs#L2
error[E0432]: unresolved imports `crate::database::backend::BackendMetricsMessage`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/drone/runtime/mod.rs:2:5
|
2 | database::backend::BackendMetricsMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{backend_state::BackendError, BearerToken},
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendMetricsMessage
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{backend_state::BackendError, BearerToken},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/runtime/mod.rs#L5
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/runtime/mod.rs:5:5
|
5 | types::{backend_state::BackendError, BearerToken},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/drone/key_manager.rs#L3
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/drone/key_manager.rs:3:5
|
3 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
4 | names::BackendName,
| ^^^^^ unresolved import
5 | protocol::{AcquiredKey, BackendAction, KeyDeadlines, RenewKeyRequest},
| ^^^^^^^^ unresolved import
6 | typed_socket::TypedSocketSender,
| ^^^^^^^^^^^^ unresolved import
7 | types::{backend_state::TerminationReason, TerminationKind},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{AcquiredKey, BackendAction, KeyDeadlines, RenewKeyRequest},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::typed_socket::TypedSocketSender,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
7 | plane_client::types::{backend_state::TerminationReason, TerminationKind},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/drone/command.rs#L4
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/drone/command.rs:4:5
|
4 | names::{DroneName, OrRandom},
| ^^^^^ unresolved import
5 | types::{ClusterName, DronePoolName},
| ^^^^^ unresolved import
|
help: a similar path exists
|
4 | plane_client::names::{DroneName, OrRandom},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{ClusterName, DronePoolName},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/key_manager.rs#L7
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/key_manager.rs:7:5
|
7 | types::{backend_state::TerminationReason, TerminationKind},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`:
plane/src/drone/backend_manager.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`
--> plane/src/drone/backend_manager.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{
| ^^^^^ unresolved import
...
9 | util::{ExponentialBackoff, GuardHandle},
| ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::log_types`, `crate::protocol`, `crate::typed_socket`:
plane/src/drone/heartbeat.rs#L2
error[E0432]: unresolved imports `crate::log_types`, `crate::protocol`, `crate::typed_socket`
--> plane/src/drone/heartbeat.rs:2:43
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, log_types::LoggableTime, protocol::Heartbeat,
| ^^^^^^^^^ ^^^^^^^^ unresolved import
| |
| unresolved import
3 | typed_socket::TypedSocketSender,
| ^^^^^^^^^^^^ unresolved import
|
help: a similar path exists
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, plane_client::log_types::LoggableTime, protocol::Heartbeat,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
2 | heartbeat_consts::HEARTBEAT_INTERVAL, log_types::LoggableTime, plane_client::protocol::Heartbeat,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::typed_socket::TypedSocketSender,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`:
plane/src/drone/executor.rs#L4
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`
--> plane/src/drone/executor.rs:4:5
|
4 | names::BackendName,
| ^^^^^ unresolved import
5 | protocol::{BackendAction, BackendEventId, BackendStateMessage},
| ^^^^^^^^ unresolved import
6 | types::{BackendState, BackendStatus, TerminationReason},
| ^^^^^ unresolved import
7 | util::{ExponentialBackoff, GuardHandle},
| ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
help: a similar path exists
|
4 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::protocol::{BackendAction, BackendEventId, BackendStateMessage},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::{BackendState, BackendStatus, TerminationReason},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/backend_manager.rs#L5
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/backend_manager.rs:5:5
|
5 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::client`, `crate::database::backend::BackendActionMessage`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/drone/mod.rs#L13
error[E0432]: unresolved imports `crate::client`, `crate::database::backend::BackendActionMessage`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/drone/mod.rs:13:5
|
13 | client::PlaneClient,
| ^^^^^^ unresolved import
14 | database::backend::BackendActionMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
15 | drone::runtime::docker::DockerRuntime,
16 | names::DroneName,
| ^^^^^ unresolved import
17 | protocol::{BackendAction, MessageFromDrone, MessageToDrone, RenewKeyResponse},
| ^^^^^^^^ unresolved import
18 | signals::wait_for_shutdown_signal,
19 | typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ^^^^^^^^^^^^ unresolved import
20 | types::{BackendState, ClusterName, DronePoolName},
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
help: a similar path exists
|
13 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::names::DroneName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
17 | plane_client::protocol::{BackendAction, MessageFromDrone, MessageToDrone, RenewKeyResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
19 | plane_client::typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
20 | plane_client::types::{BackendState, ClusterName, DronePoolName},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/drone/command.rs#L4
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/drone/command.rs:4:5
|
4 | names::{DroneName, OrRandom},
| ^^^^^ unresolved import
5 | types::{ClusterName, DronePoolName},
| ^^^^^ unresolved import
|
help: a similar path exists
|
4 | plane_client::names::{DroneName, OrRandom},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{ClusterName, DronePoolName},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`:
plane/src/drone/backend_manager.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`, `crate::util::ExponentialBackoff`
--> plane/src/drone/backend_manager.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | protocol::AcquiredKey,
| ^^^^^^^^ unresolved import
5 | types::{
| ^^^^^ unresolved import
...
9 | util::{ExponentialBackoff, GuardHandle},
| ^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
= help: consider importing this struct instead:
plane_client::exponential_backoff::ExponentialBackoff
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::AcquiredKey,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/drone/mod.rs#L19
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/mod.rs:19:5
|
19 | typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
failed to resolve: unresolved import:
plane/src/drone/backend_manager.rs#L5
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/backend_manager.rs:5:5
|
5 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::client`, `crate::database::backend::BackendActionMessage`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/drone/mod.rs#L13
error[E0432]: unresolved imports `crate::client`, `crate::database::backend::BackendActionMessage`, `crate::names`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/drone/mod.rs:13:5
|
13 | client::PlaneClient,
| ^^^^^^ unresolved import
14 | database::backend::BackendActionMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
15 | drone::runtime::docker::DockerRuntime,
16 | names::DroneName,
| ^^^^^ unresolved import
17 | protocol::{BackendAction, MessageFromDrone, MessageToDrone, RenewKeyResponse},
| ^^^^^^^^ unresolved import
18 | signals::wait_for_shutdown_signal,
19 | typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ^^^^^^^^^^^^ unresolved import
20 | types::{BackendState, ClusterName, DronePoolName},
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
help: a similar path exists
|
13 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::names::DroneName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
17 | plane_client::protocol::{BackendAction, MessageFromDrone, MessageToDrone, RenewKeyResponse},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
19 | plane_client::typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
20 | plane_client::types::{BackendState, ClusterName, DronePoolName},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::types`:
plane/src/dns/name_to_cluster.rs#L3
error[E0432]: unresolved import `crate::types`
--> plane/src/dns/name_to_cluster.rs:3:12
|
3 | use crate::types::ClusterName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::names`:
plane/src/dns/command.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/dns/command.rs:1:12
|
1 | use crate::names::{AcmeDnsServerName, OrRandom};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
build
Process completed with exit code 101.
|
failed to resolve: unresolved import:
plane/src/drone/mod.rs#L19
error[E0433]: failed to resolve: unresolved import
--> plane/src/drone/mod.rs:19:5
|
19 | typed_socket::{client::TypedSocketConnector, TypedSocketSender},
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/dns/mod.rs#L3
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/dns/mod.rs:3:5
|
3 | client::PlaneClient,
| ^^^^^^ unresolved import
4 | dns::error::OrDnsError,
5 | names::AcmeDnsServerName,
| ^^^^^ unresolved import
6 | protocol::{MessageFromDns, MessageToDns},
| ^^^^^^^^ unresolved import
...
9 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::names::AcmeDnsServerName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::protocol::{MessageFromDns, MessageToDns},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
9 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/dns/mod.rs#L8
error[E0433]: failed to resolve: unresolved import
--> plane/src/dns/mod.rs:8:5
|
8 | typed_socket::client::TypedSocketConnector,
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
unresolved import `crate::types`:
plane/src/dns/name_to_cluster.rs#L50
error[E0432]: unresolved import `crate::types`
--> plane/src/dns/name_to_cluster.rs:50:16
|
50 | use crate::types::ClusterName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::types`:
plane/src/dns/name_to_cluster.rs#L3
error[E0432]: unresolved import `crate::types`
--> plane/src/dns/name_to_cluster.rs:3:12
|
3 | use crate::types::ClusterName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::names`:
plane/src/dns/command.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/dns/command.rs:1:12
|
1 | use crate::names::{AcmeDnsServerName, OrRandom};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved import `crate::util::ExponentialBackoff`:
plane/src/database/subscribe.rs#L2
error[E0432]: unresolved import `crate::util::ExponentialBackoff`
--> plane/src/database/subscribe.rs:2:5
|
2 | use crate::util::ExponentialBackoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
help: consider importing this struct instead
|
2 | use plane_client::exponential_backoff::ExponentialBackoff;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/dns/mod.rs#L3
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/dns/mod.rs:3:5
|
3 | client::PlaneClient,
| ^^^^^^ unresolved import
4 | dns::error::OrDnsError,
5 | names::AcmeDnsServerName,
| ^^^^^ unresolved import
6 | protocol::{MessageFromDns, MessageToDns},
| ^^^^^^^^ unresolved import
...
9 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::names::AcmeDnsServerName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::protocol::{MessageFromDns, MessageToDns},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
9 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::database::backend::BackendMetricsMessage`:
plane/src/database/subscribe.rs#L1
error[E0432]: unresolved import `crate::database::backend::BackendMetricsMessage`
--> plane/src/database/subscribe.rs:1:23
|
1 | use crate::database::{backend::BackendMetricsMessage, util::MapSqlxError};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
|
= help: consider importing this struct instead:
plane_client::protocol::BackendMetricsMessage
|
failed to resolve: unresolved import:
plane/src/dns/mod.rs#L8
error[E0433]: failed to resolve: unresolved import
--> plane/src/dns/mod.rs:8:5
|
8 | typed_socket::client::TypedSocketConnector,
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
unresolved imports `crate::names`, `crate::types`, `crate::PlaneVersionInfo`:
plane/src/database/node.rs#L7
error[E0432]: unresolved imports `crate::names`, `crate::types`, `crate::PlaneVersionInfo`
--> plane/src/database/node.rs:7:5
|
7 | names::{AnyNodeName, ControllerName, NodeName},
| ^^^^^ unresolved import
8 | types::{ClusterName, NodeId, NodeKind},
| ^^^^^ unresolved import
9 | PlaneVersionInfo,
| ^^^^^^^^^^^^^^^^ no `PlaneVersionInfo` in the root
|
= help: consider importing this struct instead:
plane_client::version::PlaneVersionInfo
help: a similar path exists
|
7 | plane_client::names::{AnyNodeName, ControllerName, NodeName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::types::{ClusterName, NodeId, NodeKind},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::util::ExponentialBackoff`:
plane/src/database/subscribe.rs#L2
error[E0432]: unresolved import `crate::util::ExponentialBackoff`
--> plane/src/database/subscribe.rs:2:5
|
2 | use crate::util::ExponentialBackoff;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ExponentialBackoff` in `util`
|
help: consider importing this struct instead
|
2 | use plane_client::exponential_backoff::ExponentialBackoff;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::database::backend::BackendMetricsMessage`:
plane/src/database/subscribe.rs#L1
error[E0432]: unresolved import `crate::database::backend::BackendMetricsMessage`
--> plane/src/database/subscribe.rs:1:23
|
1 | use crate::database::{backend::BackendMetricsMessage, util::MapSqlxError};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendMetricsMessage` in `database::backend`
|
= help: consider importing this struct instead:
plane_client::protocol::BackendMetricsMessage
|
unresolved imports `crate::names`, `crate::types`, `crate::PlaneVersionInfo`:
plane/src/database/node.rs#L7
error[E0432]: unresolved imports `crate::names`, `crate::types`, `crate::PlaneVersionInfo`
--> plane/src/database/node.rs:7:5
|
7 | names::{AnyNodeName, ControllerName, NodeName},
| ^^^^^ unresolved import
8 | types::{ClusterName, NodeId, NodeKind},
| ^^^^^ unresolved import
9 | PlaneVersionInfo,
| ^^^^^^^^^^^^^^^^ no `PlaneVersionInfo` in the root
|
= help: consider importing this struct instead:
plane_client::version::PlaneVersionInfo
help: a similar path exists
|
7 | plane_client::names::{AnyNodeName, ControllerName, NodeName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::types::{ClusterName, NodeId, NodeKind},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/drone.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/drone.rs:3:5
|
3 | names::{ControllerName, DroneName},
| ^^^^^ unresolved import
4 | types::{BackendStatus, ClusterName, DronePoolName, NodeId},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{ControllerName, DroneName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{BackendStatus, ClusterName, DronePoolName, NodeId},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/drone.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/drone.rs:3:5
|
3 | names::{ControllerName, DroneName},
| ^^^^^ unresolved import
4 | types::{BackendStatus, ClusterName, DronePoolName, NodeId},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{ControllerName, DroneName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{BackendStatus, ClusterName, DronePoolName, NodeId},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::names`:
plane/src/database/controller.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/database/controller.rs:1:12
|
1 | use crate::names::ControllerName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved import `crate::names`:
plane/src/database/controller.rs#L1
error[E0432]: unresolved import `crate::names`
--> plane/src/database/controller.rs:1:12
|
1 | use crate::names::ControllerName;
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::names`
|
unresolved imports `crate::client`, `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`, `crate::util::random_token`:
plane/src/database/connect.rs#L8
error[E0432]: unresolved imports `crate::client`, `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`, `crate::util::random_token`
--> plane/src/database/connect.rs:8:5
|
8 | client::PlaneClient,
| ^^^^^^ unresolved import
...
13 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
14 | names::{BackendName, OrRandom},
| ^^^^^ unresolved import
15 | protocol::{AcquiredKey, BackendAction, KeyDeadlines},
| ^^^^^^^^ unresolved import
16 | types::{
| ^^^^^ unresolved import
...
20 | util::random_token,
| ^^^^^^^^^^^^^^^^^^ no `random_token` in `util`
|
help: a similar path exists
|
8 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
13 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
14 | plane_client::names::{BackendName, OrRandom},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
15 | plane_client::protocol::{AcquiredKey, BackendAction, KeyDeadlines},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`, `crate::util::random_token`:
plane/src/database/connect.rs#L8
error[E0432]: unresolved imports `crate::client`, `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`, `crate::util::random_token`
--> plane/src/database/connect.rs:8:5
|
8 | client::PlaneClient,
| ^^^^^^ unresolved import
...
13 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
14 | names::{BackendName, OrRandom},
| ^^^^^ unresolved import
15 | protocol::{AcquiredKey, BackendAction, KeyDeadlines},
| ^^^^^^^^ unresolved import
16 | types::{
| ^^^^^ unresolved import
...
20 | util::random_token,
| ^^^^^^^^^^^^^^^^^^ no `random_token` in `util`
|
help: a similar path exists
|
8 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
13 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
14 | plane_client::names::{BackendName, OrRandom},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
15 | plane_client::protocol::{AcquiredKey, BackendAction, KeyDeadlines},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/cluster.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/cluster.rs:2:5
|
2 | names::{AnyNodeName, ControllerName},
| ^^^^^ unresolved import
3 | types::{BackendStatus, ClusterName, ClusterState, DroneState, NodeState},
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::{AnyNodeName, ControllerName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::types::{BackendStatus, ClusterName, ClusterState, DroneState, NodeState},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/cluster.rs#L2
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/cluster.rs:2:5
|
2 | names::{AnyNodeName, ControllerName},
| ^^^^^ unresolved import
3 | types::{BackendStatus, ClusterName, ClusterState, DroneState, NodeState},
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | plane_client::names::{AnyNodeName, ControllerName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
3 | plane_client::types::{BackendStatus, ClusterName, ClusterState, DroneState, NodeState},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/backend_key.rs#L11
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/backend_key.rs:11:5
|
11 | names::BackendName,
| ^^^^^ unresolved import
12 | types::{BackendStatus, BearerToken, ClusterName, KeyConfig, Subdomain},
| ^^^^^ unresolved import
|
help: a similar path exists
|
11 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::types::{BackendStatus, BearerToken, ClusterName, KeyConfig, Subdomain},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/database/backend_key.rs#L11
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/database/backend_key.rs:11:5
|
11 | names::BackendName,
| ^^^^^ unresolved import
12 | types::{BackendStatus, BearerToken, ClusterName, KeyConfig, Subdomain},
| ^^^^^ unresolved import
|
help: a similar path exists
|
11 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::types::{BackendStatus, BearerToken, ClusterName, KeyConfig, Subdomain},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/database/backend_actions.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/database/backend_actions.rs:3:5
|
3 | names::{BackendActionName, BackendName, Name},
| ^^^^^ unresolved import
4 | protocol::BackendAction,
| ^^^^^^^^ unresolved import
5 | types::NodeId,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{BackendActionName, BackendName, Name},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::BackendAction,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::NodeId,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::protocol`, `crate::types`:
plane/src/database/backend_actions.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/database/backend_actions.rs:3:5
|
3 | names::{BackendActionName, BackendName, Name},
| ^^^^^ unresolved import
4 | protocol::BackendAction,
| ^^^^^^^^ unresolved import
5 | types::NodeId,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{BackendActionName, BackendName, Name},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::protocol::BackendAction,
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::types::NodeId,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `super::backend::BackendActionMessage`:
plane/src/database/backend_actions.rs#L1
error[E0432]: unresolved import `super::backend::BackendActionMessage`
--> plane/src/database/backend_actions.rs:1:13
|
1 | use super::{backend::BackendActionMessage, connect::ConnectError, subscribe::emit_with_key};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
|
unresolved import `super::backend::BackendActionMessage`:
plane/src/database/backend_actions.rs#L1
error[E0432]: unresolved import `super::backend::BackendActionMessage`
--> plane/src/database/backend_actions.rs:1:13
|
1 | use super::{backend::BackendActionMessage, connect::ConnectError, subscribe::emit_with_key};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/database/backend.rs#L6
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/database/backend.rs:6:5
|
6 | log_types::BackendAddr,
| ^^^^^^^^^ unresolved import
7 | names::{BackendActionName, BackendName, DroneName},
| ^^^^^ unresolved import
8 | protocol::{BackendAction, RouteInfo},
| ^^^^^^^^ unresolved import
9 | types::{
| ^^^^^ unresolved import
|
help: a similar path exists
|
6 | plane_client::log_types::BackendAddr,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
7 | plane_client::names::{BackendActionName, BackendName, DroneName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::protocol::{BackendAction, RouteInfo},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
9 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`:
plane/src/database/backend.rs#L6
error[E0432]: unresolved imports `crate::log_types`, `crate::names`, `crate::protocol`, `crate::types`
--> plane/src/database/backend.rs:6:5
|
6 | log_types::BackendAddr,
| ^^^^^^^^^ unresolved import
7 | names::{BackendActionName, BackendName, DroneName},
| ^^^^^ unresolved import
8 | protocol::{BackendAction, RouteInfo},
| ^^^^^^^^ unresolved import
9 | types::{
| ^^^^^ unresolved import
|
help: a similar path exists
|
6 | plane_client::log_types::BackendAddr,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
7 | plane_client::names::{BackendActionName, BackendName, DroneName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
8 | plane_client::protocol::{BackendAction, RouteInfo},
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
9 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/database/backend.rs#L9
error[E0433]: failed to resolve: unresolved import
--> plane/src/database/backend.rs:9:5
|
9 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
failed to resolve: unresolved import:
plane/src/database/backend.rs#L9
error[E0433]: failed to resolve: unresolved import
--> plane/src/database/backend.rs:9:5
|
9 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::types`:
plane/src/database/acme.rs#L1
error[E0432]: unresolved import `crate::types`
--> plane/src/database/acme.rs:1:12
|
1 | use crate::types::{ClusterName, NodeId};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::types`:
plane/src/database/acme.rs#L1
error[E0432]: unresolved import `crate::types`
--> plane/src/database/acme.rs:1:12
|
1 | use crate::types::{ClusterName, NodeId};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::client`, `crate::types`:
plane/src/database/mod.rs#L14
error[E0432]: unresolved imports `crate::client`, `crate::types`
--> plane/src/database/mod.rs:14:5
|
14 | client::PlaneClient,
| ^^^^^^ unresolved import
15 | types::{ClusterName, ConnectRequest, ConnectResponse, RevokeRequest},
| ^^^^^ unresolved import
|
help: a similar path exists
|
14 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
15 | plane_client::types::{ClusterName, ConnectRequest, ConnectResponse, RevokeRequest},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::types`:
plane/src/database/mod.rs#L14
error[E0432]: unresolved imports `crate::client`, `crate::types`
--> plane/src/database/mod.rs:14:5
|
14 | client::PlaneClient,
| ^^^^^^ unresolved import
15 | types::{ClusterName, ConnectRequest, ConnectResponse, RevokeRequest},
| ^^^^^ unresolved import
|
help: a similar path exists
|
14 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
15 | plane_client::types::{ClusterName, ConnectRequest, ConnectResponse, RevokeRequest},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::database::backend::BackendActionMessage`, `crate::log_types`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/controller/drone.rs#L5
error[E0432]: unresolved imports `crate::database::backend::BackendActionMessage`, `crate::log_types`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/controller/drone.rs:5:9
|
5 | backend::BackendActionMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
...
12 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
13 | protocol::{
| ^^^^^^^^ unresolved import
...
16 | typed_socket::{server::new_server, TypedSocket},
| ^^^^^^^^^^^^ unresolved import
17 | types::{
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
help: a similar name exists in the module
|
5 | backend::BackendActionName,
| ~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
13 | plane_client::protocol::{
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::typed_socket::{server::new_server, TypedSocket},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
17 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::database::backend::BackendActionMessage`, `crate::log_types`, `crate::protocol`, `crate::typed_socket`, `crate::types`:
plane/src/controller/drone.rs#L5
error[E0432]: unresolved imports `crate::database::backend::BackendActionMessage`, `crate::log_types`, `crate::protocol`, `crate::typed_socket`, `crate::types`
--> plane/src/controller/drone.rs:5:9
|
5 | backend::BackendActionMessage,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BackendActionMessage` in `database::backend`
...
12 | log_types::LoggableTime,
| ^^^^^^^^^ unresolved import
13 | protocol::{
| ^^^^^^^^ unresolved import
...
16 | typed_socket::{server::new_server, TypedSocket},
| ^^^^^^^^^^^^ unresolved import
17 | types::{
| ^^^^^ unresolved import
|
= help: consider importing this struct instead:
plane_client::protocol::BackendActionMessage
help: a similar name exists in the module
|
5 | backend::BackendActionName,
| ~~~~~~~~~~~~~~~~~
help: a similar path exists
|
12 | plane_client::log_types::LoggableTime,
| ~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
13 | plane_client::protocol::{
| ~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
16 | plane_client::typed_socket::{server::new_server, TypedSocket},
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
17 | plane_client::types::{
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/controller/drone.rs#L17
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/drone.rs:17:5
|
17 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
failed to resolve: unresolved import:
plane/src/controller/drone.rs#L17
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/drone.rs:17:5
|
17 | types::{
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
failed to resolve: unresolved import:
plane/src/controller/drone.rs#L16
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/drone.rs:16:5
|
16 | typed_socket::{server::new_server, TypedSocket},
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
failed to resolve: unresolved import:
plane/src/controller/drone.rs#L16
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/drone.rs:16:5
|
16 | typed_socket::{server::new_server, TypedSocket},
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/drain.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/drain.rs:3:5
|
3 | names::DroneName,
| ^^^^^ unresolved import
4 | types::{ClusterName, DrainResult},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::DroneName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{ClusterName, DrainResult},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/drain.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/drain.rs:3:5
|
3 | names::DroneName,
| ^^^^^ unresolved import
4 | types::{ClusterName, DrainResult},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::DroneName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{ClusterName, DrainResult},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::protocol`:
plane/src/controller/dns.rs#L3
error[E0432]: unresolved import `crate::protocol`
--> plane/src/controller/dns.rs:3:5
|
3 | protocol::{MessageFromDns, MessageToDns},
| ^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::protocol`
|
unresolved import `crate::protocol`:
plane/src/controller/dns.rs#L3
error[E0432]: unresolved import `crate::protocol`
--> plane/src/controller/dns.rs:3:5
|
3 | protocol::{MessageFromDns, MessageToDns},
| ^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::protocol`
|
failed to resolve: unresolved import:
plane/src/controller/dns.rs#L4
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/dns.rs:4:5
|
4 | typed_socket::server::new_server,
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
failed to resolve: unresolved import:
plane/src/controller/dns.rs#L4
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/dns.rs:4:5
|
4 | typed_socket::server::new_server,
| ^^^^^^^^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::typed_socket`
|
unresolved imports `crate::client`, `crate::names`, `crate::typed_socket`, `crate::types`:
plane/src/controller/core.rs#L2
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::typed_socket`, `crate::types`
--> plane/src/controller/core.rs:2:5
|
2 | client::PlaneClient,
| ^^^^^^ unresolved import
3 | database::{connect::ConnectError, PlaneDatabase},
4 | names::{AnyNodeName, ControllerName},
| ^^^^^ unresolved import
5 | typed_socket::Handshake,
| ^^^^^^^^^^^^ unresolved import
6 | types::{ClusterName, ConnectRequest, ConnectResponse, NodeId},
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::{AnyNodeName, ControllerName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::typed_socket::Handshake,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::{ClusterName, ConnectRequest, ConnectResponse, NodeId},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::client`, `crate::names`, `crate::typed_socket`, `crate::types`:
plane/src/controller/core.rs#L2
error[E0432]: unresolved imports `crate::client`, `crate::names`, `crate::typed_socket`, `crate::types`
--> plane/src/controller/core.rs:2:5
|
2 | client::PlaneClient,
| ^^^^^^ unresolved import
3 | database::{connect::ConnectError, PlaneDatabase},
4 | names::{AnyNodeName, ControllerName},
| ^^^^^ unresolved import
5 | typed_socket::Handshake,
| ^^^^^^^^^^^^ unresolved import
6 | types::{ClusterName, ConnectRequest, ConnectResponse, NodeId},
| ^^^^^ unresolved import
|
help: a similar path exists
|
2 | hyper::client::PlaneClient,
| ~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::names::{AnyNodeName, ControllerName},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
5 | plane_client::typed_socket::Handshake,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
6 | plane_client::types::{ClusterName, ConnectRequest, ConnectResponse, NodeId},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::types`:
plane/src/controller/connect.rs#L5
error[E0432]: unresolved import `crate::types`
--> plane/src/controller/connect.rs:5:12
|
5 | use crate::types::{ConnectRequest, ConnectResponse, RevokeRequest};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::types`:
plane/src/controller/connect.rs#L5
error[E0432]: unresolved import `crate::types`
--> plane/src/controller/connect.rs:5:12
|
5 | use crate::types::{ConnectRequest, ConnectResponse, RevokeRequest};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/command.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/command.rs:3:5
|
3 | names::{ControllerName, Name},
| ^^^^^ unresolved import
4 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{ControllerName, Name},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/command.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/command.rs:3:5
|
3 | names::{ControllerName, Name},
| ^^^^^ unresolved import
4 | types::ClusterName,
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::{ControllerName, Name},
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::ClusterName,
| ~~~~~~~~~~~~~~~~~~~
|
unresolved import `crate::types`:
plane/src/controller/cluster_state.rs#L2
error[E0432]: unresolved import `crate::types`
--> plane/src/controller/cluster_state.rs:2:12
|
2 | use crate::types::{ClusterName, ClusterState};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `crate::types`:
plane/src/controller/cluster_state.rs#L2
error[E0432]: unresolved import `crate::types`
--> plane/src/controller/cluster_state.rs:2:12
|
2 | use crate::types::{ClusterName, ClusterState};
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/backend_state.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/backend_state.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ~~~~~~~~~~~~~~~~~~~
|
unresolved imports `crate::names`, `crate::types`:
plane/src/controller/backend_state.rs#L3
error[E0432]: unresolved imports `crate::names`, `crate::types`
--> plane/src/controller/backend_state.rs:3:5
|
3 | names::BackendName,
| ^^^^^ unresolved import
4 | types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ^^^^^ unresolved import
|
help: a similar path exists
|
3 | plane_client::names::BackendName,
| ~~~~~~~~~~~~~~~~~~~
help: a similar path exists
|
4 | plane_client::types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ~~~~~~~~~~~~~~~~~~~
|
failed to resolve: unresolved import:
plane/src/controller/backend_state.rs#L4
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/backend_state.rs:4:5
|
4 | types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
failed to resolve: unresolved import:
plane/src/controller/backend_state.rs#L4
error[E0433]: failed to resolve: unresolved import
--> plane/src/controller/backend_state.rs:4:5
|
4 | types::{backend_state::BackendStatusStreamEntry, BackendStatus},
| ^^^^^
| |
| unresolved import
| help: a similar path exists: `plane_client::types`
|
unresolved import `super::error::ApiErrorKind`:
plane/src/controller/drone.rs#L1
error[E0432]: unresolved import `super::error::ApiErrorKind`
--> plane/src/controller/drone.rs:1:13
|
1 | use super::{error::ApiErrorKind, Controller};
| ^^^^^^^^^^^^^^^^^^^ no `ApiErrorKind` in `controller::error`
|
= help: consider importing this enum instead:
plane_client::protocol::ApiErrorKind
|
unresolved import `super::error::ApiErrorKind`:
plane/src/controller/drone.rs#L1
error[E0432]: unresolved import `super::error::ApiErrorKind`
--> plane/src/controller/drone.rs:1:13
|
1 | use super::{error::ApiErrorKind, Controller};
| ^^^^^^^^^^^^^^^^^^^ no `ApiErrorKind` in `controller::error`
|
= help: consider importing this enum instead:
plane_client::protocol::ApiErrorKind
|
unresolved import `super::error::ApiErrorKind`:
plane/src/controller/connect.rs#L1
error[E0432]: unresolved import `super::error::ApiErrorKind`
--> plane/src/controller/connect.rs:1:37
|
1 | use super::error::{err_to_response, ApiErrorKind};
| ^^^^^^^^^^^^ no `ApiErrorKind` in `controller::error`
|
= help: consider importing this enum instead:
plane_client::protocol::ApiErrorKind
|
unresolved import `super::error::ApiErrorKind`:
plane/src/controller/connect.rs#L1
error[E0432]: unresolved import `super::error::ApiErrorKind`
--> plane/src/controller/connect.rs:1:37
|
1 | use super::error::{err_to_response, ApiErrorKind};
| ^^^^^^^^^^^^ no `ApiErrorKind` in `controller::error`
|
= help: consider importing this enum instead:
plane_client::protocol::ApiErrorKind
|
unused import: `std::str::FromStr`:
plane/src/dns/name_to_cluster.rs#L51
warning: unused import: `std::str::FromStr`
--> plane/src/dns/name_to_cluster.rs:51:9
|
51 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
|
unused import: `std::str::FromStr`:
plane/src/dns/name_to_cluster.rs#L1
warning: unused import: `std::str::FromStr`
--> plane/src/dns/name_to_cluster.rs:1:5
|
1 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
|
unused import: `std::str::FromStr`:
plane/src/database/drone.rs#L8
warning: unused import: `std::str::FromStr`
--> plane/src/database/drone.rs:8:5
|
8 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
|
unused import: `str::FromStr`:
plane/src/database/backend_key.rs#L16
warning: unused import: `str::FromStr`
--> plane/src/database/backend_key.rs:16:11
|
16 | use std::{str::FromStr, time::Duration};
| ^^^^^^^^^^^^
|
unused import: `str::FromStr`:
plane/src/database/backend.rs#L18
warning: unused import: `str::FromStr`
--> plane/src/database/backend.rs:18:40
|
18 | use std::{fmt::Debug, net::SocketAddr, str::FromStr};
| ^^^^^^^^^^^^
|
unused imports: `Deserialize` and `Serialize`:
plane/src/database/backend.rs#L16
warning: unused imports: `Deserialize` and `Serialize`
--> plane/src/database/backend.rs:16:13
|
16 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
unused import: `Display`:
plane/src/controller/error.rs#L9
warning: unused import: `Display`
--> plane/src/controller/error.rs:9:18
|
9 | fmt::{Debug, Display},
| ^^^^^^^
|
unused imports: `Deserialize` and `Serialize`:
plane/src/controller/error.rs#L6
warning: unused imports: `Deserialize` and `Serialize`
--> plane/src/controller/error.rs:6:13
|
6 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `std::str::FromStr`:
plane/src/dns/name_to_cluster.rs#L1
warning: unused import: `std::str::FromStr`
--> plane/src/dns/name_to_cluster.rs:1:5
|
1 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
|
unused import: `std::str::FromStr`:
plane/src/database/drone.rs#L8
warning: unused import: `std::str::FromStr`
--> plane/src/database/drone.rs:8:5
|
8 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
|
unused import: `str::FromStr`:
plane/src/database/backend_key.rs#L16
warning: unused import: `str::FromStr`
--> plane/src/database/backend_key.rs:16:11
|
16 | use std::{str::FromStr, time::Duration};
| ^^^^^^^^^^^^
|
unused import: `str::FromStr`:
plane/src/database/backend.rs#L18
warning: unused import: `str::FromStr`
--> plane/src/database/backend.rs:18:40
|
18 | use std::{fmt::Debug, net::SocketAddr, str::FromStr};
| ^^^^^^^^^^^^
|
unused imports: `Deserialize` and `Serialize`:
plane/src/database/backend.rs#L16
warning: unused imports: `Deserialize` and `Serialize`
--> plane/src/database/backend.rs:16:13
|
16 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
unused import: `Display`:
plane/src/controller/error.rs#L9
warning: unused import: `Display`
--> plane/src/controller/error.rs:9:18
|
9 | fmt::{Debug, Display},
| ^^^^^^^
|
unused imports: `Deserialize` and `Serialize`:
plane/src/controller/error.rs#L6
warning: unused imports: `Deserialize` and `Serialize`
--> plane/src/controller/error.rs:6:13
|
6 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^ ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
build
No files were found with the provided path: test-scratch. No artifacts will be uploaded.
|