fix(windows): Get hostname from SRV record instead of assembling it #5
prs.yml
on: pull_request
Matrix: Build / build
Matrix: Cargo Test / test
Annotations
20 warnings
Cargo Test / macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
creating a `Box` from a void raw pointer:
src/os/apple/register.rs#L133
warning: creating a `Box` from a void raw pointer
--> src/os/apple/register.rs:133:21
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: cast this to a pointer of the appropriate type
--> src/os/apple/register.rs:133:35
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr
= note: `#[warn(clippy::from_raw_with_void_ptr)]` on by default
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L391
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:391:35
|
391 | context.more_coming = flags & ffi::kDNSServiceFlagsMoreComing as u32 != 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsMoreComing`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L18
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:18:20
|
18 | if flags & ffi::kDNSServiceFlagsAdd as u32 != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsAdd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
Build / macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build / macos-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
creating a `Box` from a void raw pointer:
src/os/apple/register.rs#L133
warning: creating a `Box` from a void raw pointer
--> src/os/apple/register.rs:133:21
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: cast this to a pointer of the appropriate type
--> src/os/apple/register.rs:133:35
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr
= note: `#[warn(clippy::from_raw_with_void_ptr)]` on by default
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L391
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:391:35
|
391 | context.more_coming = flags & ffi::kDNSServiceFlagsMoreComing as u32 != 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsMoreComing`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L18
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:18:20
|
18 | if flags & ffi::kDNSServiceFlagsAdd as u32 != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsAdd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
Build / ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build / ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build / windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build / windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Cargo Test / windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
creating a `Box` from a void raw pointer:
src/os/apple/register.rs#L133
warning: creating a `Box` from a void raw pointer
--> src/os/apple/register.rs:133:21
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: cast this to a pointer of the appropriate type
--> src/os/apple/register.rs:133:35
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr
= note: `#[warn(clippy::from_raw_with_void_ptr)]` on by default
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L391
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:391:35
|
391 | context.more_coming = flags & ffi::kDNSServiceFlagsMoreComing as u32 != 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsMoreComing`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L18
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:18:20
|
18 | if flags & ffi::kDNSServiceFlagsAdd as u32 != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsAdd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
creating a `Box` from a void raw pointer:
src/os/apple/register.rs#L133
warning: creating a `Box` from a void raw pointer
--> src/os/apple/register.rs:133:21
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: cast this to a pointer of the appropriate type
--> src/os/apple/register.rs:133:35
|
133 | _ = Box::from_raw(self.context);
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr
= note: `#[warn(clippy::from_raw_with_void_ptr)]` on by default
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L391
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:391:35
|
391 | context.more_coming = flags & ffi::kDNSServiceFlagsMoreComing as u32 != 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsMoreComing`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u32` -> `u32`):
src/os/apple/browse.rs#L18
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> src/os/apple/browse.rs:18:20
|
18 | if flags & ffi::kDNSServiceFlagsAdd as u32 != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ffi::kDNSServiceFlagsAdd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|