This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
Add config
command
#761
Annotations
18 errors and 13 warnings
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L149
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:149:46
|
149 | let farm_dir = PathBuf::from_str(&fd).expect("Invalid farm directory");
| ^^^ help: change this to: `fd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L142
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:142:46
|
142 | let node_dir = PathBuf::from_str(&n).expect("Invalid node directory");
| ^^ help: change this to: `n`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L136
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:136:56
|
136 | let reward_address = reward_address_parser(&r)?;
| ^^ help: change this to: `r`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L130
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:130:41
|
130 | let farm_size = size_parser(&f)?;
| ^^ help: change this to: `f`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L149
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:149:46
|
149 | let farm_dir = PathBuf::from_str(&fd).expect("Invalid farm directory");
| ^^^ help: change this to: `fd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L142
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:142:46
|
142 | let node_dir = PathBuf::from_str(&n).expect("Invalid node directory");
| ^^ help: change this to: `n`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L136
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:136:56
|
136 | let reward_address = reward_address_parser(&r)?;
| ^^ help: change this to: `r`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L130
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:130:41
|
130 | let farm_size = size_parser(&f)?;
| ^^ help: change this to: `f`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
clippy (self-hosted, ubuntu-20.04-x86-64, false)
Clippy had exited with the 101 exit code
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L149
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:149:46
|
149 | let farm_dir = PathBuf::from_str(&fd).expect("Invalid farm directory");
| ^^^ help: change this to: `fd`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L142
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:142:46
|
142 | let node_dir = PathBuf::from_str(&n).expect("Invalid node directory");
| ^^ help: change this to: `n`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L136
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:136:56
|
136 | let reward_address = reward_address_parser(&r)?;
| ^^ help: change this to: `r`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pulsar/src/commands/config.rs#L130
error: this expression creates a reference which is immediately dereferenced by the compiler
--> pulsar/src/commands/config.rs:130:41
|
130 | let farm_size = size_parser(&f)?;
| ^^ help: change this to: `f`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
clippy (self-hosted, macos-12-arm64, false)
Clippy had exited with the 101 exit code
|
docs
Process completed with exit code 101.
|
clippy (self-hosted, windows-server-2022-x86-64, false)
Process completed with exit code 1.
|
clippy (self-hosted, windows-server-2022-x86-64, false)
Clippy had exited with the 101 exit code
|
test (self-hosted, windows-server-2022-x86-64, false)
Process completed with exit code 1.
|
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy (self-hosted, ubuntu-20.04-x86-64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy (self-hosted, ubuntu-20.04-x86-64, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy (self-hosted, macos-12-arm64, false)
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.311.0. Please update to the latest version 2.312.0
|
clippy (self-hosted, macos-12-arm64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy (self-hosted, macos-12-arm64, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy (self-hosted, windows-server-2022-x86-64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy (self-hosted, windows-server-2022-x86-64, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (self-hosted, windows-server-2022-x86-64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (self-hosted, ubuntu-20.04-x86-64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (self-hosted, macos-12-arm64, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|