build(deps): bump tokio from 1.36.0 to 1.38.2 #167
Annotations
20 warnings
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Send` is not local
| `Sync` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Sync` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Send` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: `#[warn(non_local_definitions)]` on by default
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L143
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:143:75
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
143 | pub fn new_with_client_and_url<S>(client: reqwest::Client, url: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L120
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:120:39
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
120 | pub fn new_with_url<S>(url: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L101
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:101:21
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
101 | pub fn new() -> Result<Self> {
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/api/websocket.rs#L44
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/api/websocket.rs:44:35
|
17 | ConnectFailed(#[from] tokio_tungstenite::tungstenite::Error),
| ------------------------------------------------------------ the largest variant contains at least 136 bytes
...
23 | ReadFailed(#[source] tokio_tungstenite::tungstenite::Error),
| ----------------------------------------------------------- the variant `ReadFailed` contains at least 136 bytes
...
44 | pub fn new<S>(endpoint: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `api::websocket::WebSocketApiError`, for example by boxing large elements or replacing it with `Box<api::websocket::WebSocketApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
|
methods `get_from`, `get_from_mut`, `get_node`, and `get_node_mut` are never used:
crates/comfyui-api/src/comfy/getter.rs#L273
warning: methods `get_from`, `get_from_mut`, `get_node`, and `get_node_mut` are never used
--> crates/comfyui-api/src/comfy/getter.rs:273:8
|
261 | trait GetterExt<T, N>
| --------- methods in this trait
...
273 | fn get_from<G>(&self, output_node: &str) -> anyhow::Result<&T>
| ^^^^^^^^
...
277 | fn get_from_mut<G>(&mut self, output_node: &str) -> anyhow::Result<&mut T>
| ^^^^^^^^^^^^
...
281 | fn get_node<G>(&self, node: &str) -> anyhow::Result<&T>
| ^^^^^^^^
...
285 | fn get_node_mut<G>(&mut self, node: &str) -> anyhow::Result<&mut T>
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Send` is not local
| `Sync` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Sync` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Send` is not local
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
crates/comfyui-api/src/models/prompt.rs#L110
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> crates/comfyui-api/src/models/prompt.rs:110:1
|
110 | #[typetag::serde(tag = "class_type", content = "inputs")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `Serialize` is not local
| move the `impl` block outside of this constant `_Node_registry`
111 | pub trait Node: std::fmt::Debug + Send + Sync + AsAny + DynClone {
| ---- `Node` is not local
|
= note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
= note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
= note: `#[warn(non_local_definitions)]` on by default
= note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L143
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:143:75
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
143 | pub fn new_with_client_and_url<S>(client: reqwest::Client, url: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L120
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:120:39
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
120 | pub fn new_with_url<S>(url: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/comfy/mod.rs#L101
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/comfy/mod.rs:101:21
|
61 | ReceiveUpdateFailure(#[from] api::WebSocketApiError),
| ---------------------------------------------------- the largest variant contains at least 144 bytes
...
101 | pub fn new() -> Result<Self> {
| ^^^^^^^^^^^^
|
= help: try reducing the size of `comfy::ComfyApiError`, for example by boxing large elements or replacing it with `Box<comfy::ComfyApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
|
|
the `Err`-variant returned from this function is very large:
crates/comfyui-api/src/api/websocket.rs#L44
warning: the `Err`-variant returned from this function is very large
--> crates/comfyui-api/src/api/websocket.rs:44:35
|
17 | ConnectFailed(#[from] tokio_tungstenite::tungstenite::Error),
| ------------------------------------------------------------ the largest variant contains at least 136 bytes
...
23 | ReadFailed(#[source] tokio_tungstenite::tungstenite::Error),
| ----------------------------------------------------------- the variant `ReadFailed` contains at least 136 bytes
...
44 | pub fn new<S>(endpoint: S) -> Result<Self>
| ^^^^^^^^^^^^
|
= help: try reducing the size of `api::websocket::WebSocketApiError`, for example by boxing large elements or replacing it with `Box<api::websocket::WebSocketApiError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
|
methods `get_from`, `get_from_mut`, `get_node`, and `get_node_mut` are never used:
crates/comfyui-api/src/comfy/getter.rs#L273
warning: methods `get_from`, `get_from_mut`, `get_node`, and `get_node_mut` are never used
--> crates/comfyui-api/src/comfy/getter.rs:273:8
|
261 | trait GetterExt<T, N>
| --------- methods in this trait
...
273 | fn get_from<G>(&self, output_node: &str) -> anyhow::Result<&T>
| ^^^^^^^^
...
277 | fn get_from_mut<G>(&mut self, output_node: &str) -> anyhow::Result<&mut T>
| ^^^^^^^^^^^^
...
281 | fn get_node<G>(&self, node: &str) -> anyhow::Result<&T>
| ^^^^^^^^
...
285 | fn get_node_mut<G>(&mut self, node: &str) -> anyhow::Result<&mut T>
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|