DNS server configuration + AP (#87) #53
Annotations
1 error and 79 warnings
rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
rustfmt
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/
|
rustfmt
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/
|
rustfmt
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/
|
rustfmt
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/
|
doc list item without indentation:
src/command/wifi/types.rs#L740
warning: doc list item without indentation
--> src/command/wifi/types.rs:740:9
|
740 | /// be done by the Wi-Fi disable/enable command (parameter
| ^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
740 | /// be done by the Wi-Fi disable/enable command (parameter
| ++
|
doc list item without indentation:
src/command/wifi/types.rs#L739
warning: doc list item without indentation
--> src/command/wifi/types.rs:739:9
|
739 | /// settings to take affect, the Wi-Fi radio must be restarted. This can
| ^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
739 | /// settings to take affect, the Wi-Fi radio must be restarted. This can
| ++
|
doc list item without indentation:
src/command/wifi/types.rs#L583
warning: doc list item without indentation
--> src/command/wifi/types.rs:583:9
|
583 | /// be done by the Wi-Fi disable/enable command (parameter
| ^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
583 | /// be done by the Wi-Fi disable/enable command (parameter
| ++
|
doc list item without indentation:
src/command/wifi/types.rs#L582
warning: doc list item without indentation
--> src/command/wifi/types.rs:582:9
|
582 | /// settings to take affect, the Wi-Fi radio must be restarted. This can
| ^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
582 | /// settings to take affect, the Wi-Fi radio must be restarted. This can
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L26
warning: doc list item without indentation
--> src/command/ping/mod.rs:26:5
|
26 | /// in another way.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
26 | /// in another way.
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L25
warning: doc list item without indentation
--> src/command/ping/mod.rs:25:5
|
25 | /// OBS: If a remote host does not reply to an ICMP echo request, it does not mean that the host cannot be reached
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
25 | /// OBS: If a remote host does not reply to an ICMP echo request, it does not mean that the host cannot be reached
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L24
warning: doc list item without indentation
--> src/command/ping/mod.rs:24:5
|
24 | /// OBS: Some remote hosts might not reply to the ICMP echo request if the data size of the echo request is too big.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
24 | /// OBS: Some remote hosts might not reply to the ICMP echo request if the data size of the echo request is too big.
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L23
warning: doc list item without indentation
--> src/command/ping/mod.rs:23:5
|
23 | /// settings).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
23 | /// settings).
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L22
warning: doc list item without indentation
--> src/command/ping/mod.rs:22:5
|
22 | /// OBS: Some remote hosts might not reply to the ICMP echo request for security reasons (for example, firewall
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
22 | /// OBS: Some remote hosts might not reply to the ICMP echo request for security reasons (for example, firewall
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L21
warning: doc list item without indentation
--> src/command/ping/mod.rs:21:5
|
21 | /// result (when there is no error).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
21 | /// result (when there is no error).
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L20
warning: doc list item without indentation
--> src/command/ping/mod.rs:20:5
|
20 | /// of the ping command execution is notified through the +UUPING: URC, which reports the +UPING command
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
20 | /// of the ping command execution is notified through the +UUPING: URC, which reports the +UPING command
| ++
|
doc list item without indentation:
src/command/ping/mod.rs#L19
warning: doc list item without indentation
--> src/command/ping/mod.rs:19:5
|
19 | /// The AT+UPING allows the user to execute a ping command from the module to a remote host. The results
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
19 | /// The AT+UPING allows the user to execute a ping command from the module to a remote host. The results
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L24
warning: doc list item without indentation
--> src/command/ping/urc.rs:24:5
|
24 | /// in another way.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
24 | /// in another way.
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L23
warning: doc list item without indentation
--> src/command/ping/urc.rs:23:5
|
23 | /// OBS: If a remote host does not reply to an ICMP echo request, it does not mean that the host cannot be reached
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
23 | /// OBS: If a remote host does not reply to an ICMP echo request, it does not mean that the host cannot be reached
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L22
warning: doc list item without indentation
--> src/command/ping/urc.rs:22:5
|
22 | /// OBS: Some remote hosts might not reply to the ICMP echo request if the data size of the echo request is too big.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
22 | /// OBS: Some remote hosts might not reply to the ICMP echo request if the data size of the echo request is too big.
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L21
warning: doc list item without indentation
--> src/command/ping/urc.rs:21:5
|
21 | /// settings).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
21 | /// settings).
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L20
warning: doc list item without indentation
--> src/command/ping/urc.rs:20:5
|
20 | /// OBS: Some remote hosts might not reply to the ICMP echo request for security reasons (for example, firewall
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
20 | /// OBS: Some remote hosts might not reply to the ICMP echo request for security reasons (for example, firewall
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L19
warning: doc list item without indentation
--> src/command/ping/urc.rs:19:5
|
19 | /// result (when there is no error).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
19 | /// result (when there is no error).
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L18
warning: doc list item without indentation
--> src/command/ping/urc.rs:18:5
|
18 | /// of the ping command execution is notified through the +UUPING: URC, which reports the +UPING command
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | /// of the ping command execution is notified through the +UUPING: URC, which reports the +UPING command
| ++
|
doc list item without indentation:
src/command/ping/urc.rs#L17
warning: doc list item without indentation
--> src/command/ping/urc.rs:17:5
|
17 | /// The AT+UPING allows the user to execute a ping command from the module to a remote host. The results
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
17 | /// The AT+UPING allows the user to execute a ping command from the module to a remote host. The results
| ++
|
doc list item without indentation:
src/command/ping/types.rs#L23
warning: doc list item without indentation
--> src/command/ping/types.rs:23:5
|
23 | /// echo request.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
23 | /// echo request.
| ++
|
doc list item without indentation:
src/command/ping/types.rs#L22
warning: doc list item without indentation
--> src/command/ping/types.rs:22:5
|
22 | /// The time in milliseconds to wait after an echo reply response before sending the next
| ^
|
= help: if this is intended to be part of the list, indent 2 spaces
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: if this should be its own paragraph, add a blank doc comment line
|
20 ~ /// - Default value: 32
21 + ///
|
|
doc list item without indentation:
src/command/ping/types.rs#L18
warning: doc list item without indentation
--> src/command/ping/types.rs:18:5
|
18 | /// provides the TTL value received in the incoming packet.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | /// provides the TTL value received in the incoming packet.
| ++
|
doc list item without indentation:
src/command/ping/types.rs#L17
warning: doc list item without indentation
--> src/command/ping/types.rs:17:5
|
17 | /// The value of TTL to be set for the outgoing echo request packet. In the URC, it
| ^
|
= help: if this is intended to be part of the list, indent 2 spaces
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: if this should be its own paragraph, add a blank doc comment line
|
15 ~ /// - Default value: 5000
16 + ///
|
|
doc list item without indentation:
src/command/ping/types.rs#L13
warning: doc list item without indentation
--> src/command/ping/types.rs:13:5
|
13 | /// The maximum time in milliseconds to wait for an echo reply response.
| ^
|
= help: if this is intended to be part of the list, indent 2 spaces
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: if this should be its own paragraph, add a blank doc comment line
|
11 ~ /// - Default value: 32
12 + ///
|
|
doc list item without indentation:
src/command/ping/types.rs#L9
warning: doc list item without indentation
--> src/command/ping/types.rs:9:5
|
9 | /// Size in bytes of the echo packet payload.
| ^
|
= help: if this is intended to be part of the list, indent 2 spaces
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: if this should be its own paragraph, add a blank doc comment line
|
7 ~ /// - Default value: 4
8 + ///
|
|
doc list item without indentation:
src/command/network/types.rs#L270
warning: doc list item without indentation
--> src/command/network/types.rs:270:9
|
270 | /// with the U/L bit set to 1 for a locally administered address.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
270 | /// with the U/L bit set to 1 for a locally administered address.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L268
warning: doc list item without indentation
--> src/command/network/types.rs:268:9
|
268 | /// bridge is used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
268 | /// bridge is used.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L267
warning: doc list item without indentation
--> src/command/network/types.rs:267:9
|
267 | /// network interface configurations is not used while the IP configuration of the
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
267 | /// network interface configurations is not used while the IP configuration of the
| ++
|
doc list item without indentation:
src/command/network/types.rs#L266
warning: doc list item without indentation
--> src/command/network/types.rs:266:9
|
266 | /// the bridge is handled by the bridge. The IP configuration set in the individual
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
266 | /// the bridge is handled by the bridge. The IP configuration set in the individual
| ++
|
doc list item without indentation:
src/command/network/types.rs#L238
warning: doc list item without indentation
--> src/command/network/types.rs:238:9
|
238 | /// enabled, the IPv4 Mode should be set to static.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
238 | /// enabled, the IPv4 Mode should be set to static.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L237
warning: doc list item without indentation
--> src/command/network/types.rs:237:9
|
237 | /// following formula - "(Static address and subnet mask) + 100". If DHCP Server is
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
237 | /// following formula - "(Static address and subnet mask) + 100". If DHCP Server is
| ++
|
doc list item without indentation:
src/command/network/types.rs#L209
warning: doc list item without indentation
--> src/command/network/types.rs:209:9
|
209 | /// interfaces to accept IP traffic.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
209 | /// interfaces to accept IP traffic.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L208
warning: doc list item without indentation
--> src/command/network/types.rs:208:9
|
208 | /// For example, AT+UBRGC = 0,2,1,3. This allows the Wi-Fi station and Ethernet
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
208 | /// For example, AT+UBRGC = 0,2,1,3. This allows the Wi-Fi station and Ethernet
| ++
|
doc list item without indentation:
src/command/network/types.rs#L207
warning: doc list item without indentation
--> src/command/network/types.rs:207:9
|
207 | /// 6.0.0 onwards only.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
207 | /// 6.0.0 onwards only.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L197
warning: doc list item without indentation
--> src/command/network/types.rs:197:9
|
197 | /// interfaces to the bridge.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
197 | /// interfaces to the bridge.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L196
warning: doc list item without indentation
--> src/command/network/types.rs:196:9
|
196 | /// For example, AT+UBRGC = 0,1,1,3. This adds the Wi-Fi station and Ethernet
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
196 | /// For example, AT+UBRGC = 0,1,1,3. This adds the Wi-Fi station and Ethernet
| ++
|
doc list item without indentation:
src/command/network/types.rs#L195
warning: doc list item without indentation
--> src/command/network/types.rs:195:9
|
195 | /// 6.0.0 onwards only.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
195 | /// 6.0.0 onwards only.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L116
warning: doc list item without indentation
--> src/command/network/types.rs:116:9
|
116 | /// version 5.0.0 onwards only.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
116 | /// version 5.0.0 onwards only.
| ++
|
doc list item without indentation:
src/command/network/types.rs#L61
warning: doc list item without indentation
--> src/command/network/types.rs:61:9
|
61 | /// version 5.0.0 onwards only.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
61 | /// version 5.0.0 onwards only.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L154
warning: doc list item without indentation
--> src/command/ethernet/types.rs:154:9
|
154 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
154 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L148
warning: doc list item without indentation
--> src/command/ethernet/types.rs:148:9
|
148 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
148 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L142
warning: doc list item without indentation
--> src/command/ethernet/types.rs:142:9
|
142 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
142 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L136
warning: doc list item without indentation
--> src/command/ethernet/types.rs:136:9
|
136 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
136 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L89
warning: doc list item without indentation
--> src/command/ethernet/types.rs:89:9
|
89 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
89 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L83
warning: doc list item without indentation
--> src/command/ethernet/types.rs:83:9
|
83 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
83 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L77
warning: doc list item without indentation
--> src/command/ethernet/types.rs:77:9
|
77 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
77 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L71
warning: doc list item without indentation
--> src/command/ethernet/types.rs:71:9
|
71 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
71 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L33
warning: doc list item without indentation
--> src/command/ethernet/types.rs:33:9
|
33 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
33 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L28
warning: doc list item without indentation
--> src/command/ethernet/types.rs:28:9
|
28 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
28 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L23
warning: doc list item without indentation
--> src/command/ethernet/types.rs:23:9
|
23 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
23 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/ethernet/types.rs#L18
warning: doc list item without indentation
--> src/command/ethernet/types.rs:18:9
|
18 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | /// Not available for ODIN-W2 software versions 2.0.0 or 2.0.1. Default PHY values will be used.
| ++
|
doc list item without indentation:
src/command/data_mode/types.rs#L206
warning: doc list item without indentation
--> src/command/data_mode/types.rs:206:9
|
206 | /// multiple TCP links are used, this should be low.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
206 | /// multiple TCP links are used, this should be low.
| ++
|
doc list item without indentation:
src/command/data_mode/types.rs#L201
warning: doc list item without indentation
--> src/command/data_mode/types.rs:201:9
|
201 | /// always connected bit set (Default is 10000)
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
201 | /// always connected bit set (Default is 10000)
| ++
|
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`:
src/asynch/network.rs#L58
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> src/asynch/network.rs:58:13
|
58 | / match embassy_futures::select::select(
59 | | self.urc_subscription.next_message_pure(),
60 | | self.ch.wait_for_wifi_state_change(),
61 | | )
... |
72 | | _ => {}
73 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
58 ~ if let embassy_futures::select::Either::First(event) = embassy_futures::select::select(
59 + self.urc_subscription.next_message_pure(),
60 + self.ch.wait_for_wifi_state_change(),
61 + )
62 + .await {
63 + #[cfg(feature = "edm")]
64 + let Some(event) = event.extract_urc() else {
65 + continue;
66 + };
67 +
68 + self.handle_urc(event).await?;
69 + }
|
|
you don't need to add `&` to all patterns:
src/asynch/control.rs#L366
warning: you don't need to add `&` to all patterns
--> src/asynch/control.rs:366:23
|
366 | let primary = match options.dns.as_slice() {
| _______________________^
367 | | &[primary] => Some(primary),
368 | | &[primary, secondary] => {
369 | | (&self.at_client)
... |
378 | | _ => None,
379 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats
= note: `#[warn(clippy::match_ref_pats)]` on by default
help: instead of prefixing all patterns with `&`, you can dereference the expression
|
366 ~ let primary = match *options.dns.as_slice() {
367 ~ [primary] => Some(primary),
368 ~ [primary, secondary] => {
|
|
methods `is_station` and `is_access_point` are never used:
src/connection.rs#L53
warning: methods `is_station` and `is_access_point` are never used
--> src/connection.rs:53:12
|
41 | impl WifiConnection {
| ------------------- methods in this implementation
...
53 | pub fn is_station(&self) -> bool {
| ^^^^^^^^^^
...
60 | pub fn is_access_point(&self) -> bool {
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
|
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
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/
|
Test
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/
|
Test
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/
|
Test
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/
|
Test:
src/connection.rs#L53
methods `is_station` and `is_access_point` are never used
|
Test
`ublox-short-range-rs` (lib) generated 1 warning
|
Test:
src/connection.rs#L53
methods `is_station` and `is_access_point` are never used
|
Test
`ublox-short-range-rs` (lib test) generated 1 warning
|