Support suffix for DNS server #87
Annotations
11 warnings
check-rust-format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check-rust-format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-rust-format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-rust-format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-rust-format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
used `unwrap()` on an `Option` value:
plane/src/admin.rs#L266
warning: used `unwrap()` on an `Option` value
--> plane/src/admin.rs:266:28
|
266 | let response = conn.recv().await.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
plane/src/admin.rs#L258
warning: used `unwrap()` on a `Result` value
--> plane/src/admin.rs:258:13
|
258 | / conn.send(MessageFromProxy::CertManagerRequest(
259 | | CertManagerRequest::SetTxtRecord {
260 | | txt_value: message.clone(),
261 | | },
262 | | ))
263 | | .await
264 | | .unwrap();
| |_____________________^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
`to_string` applied to a type that implements `Display` in `format!` args:
plane/src/admin.rs#L256
warning: `to_string` applied to a type that implements `Display` in `format!` args
--> plane/src/admin.rs:256:70
|
256 | let message = format!("Dummy message from {}", proxy_name.to_string());
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
|
used `unwrap()` on an `Option` value:
plane/src/admin.rs#L241
warning: used `unwrap()` on an `Option` value
--> plane/src/admin.rs:241:28
|
241 | let response = conn.recv().await.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is `None`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
plane/src/admin.rs#L235
warning: used `unwrap()` on a `Result` value
--> plane/src/admin.rs:235:13
|
235 | / conn.send(MessageFromProxy::CertManagerRequest(
236 | | CertManagerRequest::CertLeaseRequest,
237 | | ))
238 | | .await
239 | | .unwrap();
| |_____________________^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
plane/src/admin.rs#L233
warning: used `unwrap()` on a `Result` value
--> plane/src/admin.rs:233:28
|
233 | let mut conn = connection.connect(&proxy_name).await.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> plane/src/lib.rs:1:9
|
1 | #![warn(clippy::unwrap_used)]
| ^^^^^^^^^^^^^^^^^^^
|