Skip to content

LNX-NONE: add lnx-config module to inject configs #228

LNX-NONE: add lnx-config module to inject configs

LNX-NONE: add lnx-config module to inject configs #228

Triggered via pull request May 15, 2025 17:01
Status Success
Total duration 1m 38s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

57 warnings
fmt
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/
fmt
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/
fmt
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/
fmt
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/
deref which would be done by auto-deref: lnx-fs/src/metastore/mod.rs#L125
warning: deref which would be done by auto-deref --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ help: try: `entry` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `#[warn(clippy::explicit_auto_deref)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: lnx-fs/src/metastore/mod.rs#L125
warning: this expression creates a reference which is immediately dereferenced by the compiler --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ help: change this to: `*entry` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
deref on an immutable reference: lnx-fs/src/metastore/mod.rs#L125
warning: deref on an immutable reference --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref = note: `#[warn(clippy::borrow_deref_ref)]` on by default help: if you would like to reborrow, try removing `&*` | 125 - .filter(|entry| pred(&*entry)) 125 + .filter(|entry| pred(entry)) | help: if you would like to deref, try using `&**` | 125 | .filter(|entry| pred(&**entry)) | +
this can be `std::io::Error::other(_)`: lnx-fs/src/metastore/checkpoint.rs#L246
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/metastore/checkpoint.rs:246:22 | 246 | .map_err(|e| io::Error::new(ErrorKind::Other, e.to_string()))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 246 - .map_err(|e| io::Error::new(ErrorKind::Other, e.to_string()))?; 246 + .map_err(|e| io::Error::other(e.to_string()))?; |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/runtime.rs#L113
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/runtime.rs:113:13 | 113 | io::Error::new(ErrorKind::Other, "Runtime cancelled spawn task") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 113 - io::Error::new(ErrorKind::Other, "Runtime cancelled spawn task") 113 + io::Error::other("Runtime cancelled spawn task") |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/runtime.rs#L109
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/runtime.rs:109:13 | 109 | io::Error::new(ErrorKind::Other, "Worker IO runtime died, this is a bug") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 109 - io::Error::new(ErrorKind::Other, "Worker IO runtime died, this is a bug") 109 + io::Error::other("Worker IO runtime died, this is a bug") |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/actors/mod.rs#L46
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/actors/mod.rs:46:5 | 46 | / io::Error::new( 47 | | ErrorKind::Other, 48 | | "Writers failed to start or aborted, this is a bug", 49 | | ) | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 46 ~ io::Error::other( 47 ~ "Writers failed to start or aborted, this is a bug", |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/actors/tablet_reader.rs#L93
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/actors/tablet_reader.rs:93:13 | 93 | io::Error::new(ErrorKind::Other, "Reader closed") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error = note: `#[warn(clippy::io_other_error)]` on by default help: use `std::io::Error::other` | 93 - io::Error::new(ErrorKind::Other, "Reader closed") 93 + io::Error::other("Reader closed") |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L296
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:296:22 | 296 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 296 - other => io::Error::new(ErrorKind::Other, other), 296 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L238
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:238:18 | 238 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 238 - other => io::Error::new(ErrorKind::Other, other), 238 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L171
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:171:30 | 171 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 171 - other => io::Error::new(ErrorKind::Other, other), 171 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L113
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:113:40 | 113 | io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 113 - io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), 113 + io_error: Arc::new(io::Error::other(other)), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L79
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:79:36 | 79 | io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error = note: `#[warn(clippy::io_other_error)]` on by default help: use `std::io::Error::other` | 79 - io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), 79 + io_error: Arc::new(io::Error::other(other)), |
associated function `new` is never used: lnx-tantivy/src/collectors/top_docs/mod.rs#L197
warning: associated function `new` is never used --> lnx-tantivy/src/collectors/top_docs/mod.rs:197:8 | 196 | impl<T: PartialOrd + Clone> TopSegmentCollector<T> { | -------------------------------------------------- associated function in this implementation 197 | fn new(segment_ord: SegmentOrdinal, limit: usize) -> TopSegmentCollector<T> { | ^^^ | = note: `#[warn(dead_code)]` on by default
useless conversion to the same type: `std::string::String`: lnx-doc/src/borrowed_value.rs#L221
warning: useless conversion to the same type: `std::string::String` --> lnx-doc/src/borrowed_value.rs:221:42 | 221 | Ok(BorrowedValue::Str(Cow::Owned(v.into()))) | ^^^^^^^^ help: consider removing `.into()`: `v` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
unused variable: `score`: lnx-tantivy/src/collectors/top_docs/mod.rs#L462
warning: unused variable: `score` --> lnx-tantivy/src/collectors/top_docs/mod.rs:462:14 | 462 | for (score, doc) in expected_docs { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` | = note: `#[warn(unused_variables)]` on by default
unused import: `debug`: lnx-tantivy/src/directory/vfs.rs#L21
warning: unused import: `debug` --> lnx-tantivy/src/directory/vfs.rs:21:15 | 21 | use tracing::{debug, warn}; | ^^^^^
unused import: `crate::collectors::TopDocs`: lnx-tantivy/src/collectors/top_docs/custom_sort.rs#L320
warning: unused import: `crate::collectors::TopDocs` --> lnx-tantivy/src/collectors/top_docs/custom_sort.rs:320:9 | 320 | use crate::collectors::TopDocs; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `QueryParser`: lnx-tantivy/src/collectors/top_docs/custom_sort.rs#L315
warning: unused import: `QueryParser` --> lnx-tantivy/src/collectors/top_docs/custom_sort.rs:315:36 | 315 | use tantivy::query::{AllQuery, QueryParser}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
doc list item overindented: lnx-query/src/syntax.rs#L110
warning: doc list item overindented --> lnx-query/src/syntax.rs:110:5 | 110 | /// _This is an alias for `$not: { $eq: <value> }.`_ | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
doc list item overindented: lnx-query/src/syntax.rs#L82
warning: doc list item overindented --> lnx-query/src/syntax.rs:82:5 | 82 | /// or via the table config. | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
doc list item overindented: lnx-query/src/syntax.rs#L81
warning: doc list item overindented --> lnx-query/src/syntax.rs:81:5 | 81 | /// for a term depending on the term's length. This can be configured via the query | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items = note: `#[warn(clippy::doc_overindented_list_items)]` on by default
unused import: `tantivy::indexer::NoMergePolicy`: lnx-tantivy/tests/test_indexing_merges.rs#L4
warning: unused import: `tantivy::indexer::NoMergePolicy` --> lnx-tantivy/tests/test_indexing_merges.rs:4:5 | 4 | use tantivy::indexer::NoMergePolicy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `BucketConfig`: lnx-fs/lnx-fs-benches/src/main.rs#L13
warning: unused import: `BucketConfig` --> lnx-fs/lnx-fs-benches/src/main.rs:13:20 | 13 | use lnx_fs::{Body, BucketConfig, Bytes, RuntimeOptions, VirtualFileSystem}; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `BucketConfig`: lnx-fs/lnx-fs-benches/src/main.rs#L13
warning: unused import: `BucketConfig` --> lnx-fs/lnx-fs-benches/src/main.rs:13:20 | 13 | use lnx_fs::{Body, BucketConfig, Bytes, RuntimeOptions, VirtualFileSystem}; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
variables can be used directly in the `format!` string: lnx-config/tests/config_access.rs#L12
warning: variables can be used directly in the `format!` string --> lnx-config/tests/config_access.rs:12:5 | 12 | println!("Got {}", value); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[warn(clippy::uninlined_format_args)]` on by default help: change this to | 12 - println!("Got {}", value); 12 + println!("Got {value}"); |
all variants have the same postfix: `Endpoints`: lnx-server/src/apis/mod.rs#L12
warning: all variants have the same postfix: `Endpoints` --> lnx-server/src/apis/mod.rs:12:1 | 12 | / pub(super) enum Tag { 13 | | #[oai(rename = "Health Endpoints")] 14 | | /// Service health related endpoints 15 | | /// ... | 40 | | QueryEndpoints, 41 | | } | |_^ | = help: remove the postfixes and use full paths to the variants instead of glob imports = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names = note: `#[warn(clippy::enum_variant_names)]` on by default
all variants have the same postfix: `Endpoints`: lnx-server/src/apis/mod.rs#L12
warning: all variants have the same postfix: `Endpoints` --> lnx-server/src/apis/mod.rs:12:1 | 12 | / pub(super) enum Tag { 13 | | #[oai(rename = "Health Endpoints")] 14 | | /// Service health related endpoints 15 | | /// ... | 40 | | QueryEndpoints, 41 | | } | |_^ | = help: remove the postfixes and use full paths to the variants instead of glob imports = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names = note: `#[warn(clippy::enum_variant_names)]` on by default
unused import: `Object`: lnx-server/src/apis/query.rs#L3
warning: unused import: `Object` --> lnx-server/src/apis/query.rs:3:20 | 3 | use poem_openapi::{Object, OpenApi}; | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused variable: `data_path`: lnx-server/src/lib.rs#L16
warning: unused variable: `data_path` --> lnx-server/src/lib.rs:16:46 | 16 | pub async fn run(listen_address: SocketAddr, data_path: PathBuf) -> Result<()> { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_path` | = note: `#[warn(unused_variables)]` on by default
unused import: `Object`: lnx-server/src/apis/query.rs#L3
warning: unused import: `Object` --> lnx-server/src/apis/query.rs:3:20 | 3 | use poem_openapi::{Object, OpenApi}; | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default
doc list item overindented: lnx-query/src/syntax.rs#L110
warning: doc list item overindented --> lnx-query/src/syntax.rs:110:5 | 110 | /// _This is an alias for `$not: { $eq: <value> }.`_ | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
doc list item overindented: lnx-query/src/syntax.rs#L82
warning: doc list item overindented --> lnx-query/src/syntax.rs:82:5 | 82 | /// or via the table config. | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
doc list item overindented: lnx-query/src/syntax.rs#L81
warning: doc list item overindented --> lnx-query/src/syntax.rs:81:5 | 81 | /// for a term depending on the term's length. This can be configured via the query | ^^^^ help: try using ` ` (2 spaces) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items = note: `#[warn(clippy::doc_overindented_list_items)]` on by default
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L296
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:296:22 | 296 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 296 - other => io::Error::new(ErrorKind::Other, other), 296 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L238
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:238:18 | 238 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 238 - other => io::Error::new(ErrorKind::Other, other), 238 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L171
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:171:30 | 171 | other => io::Error::new(ErrorKind::Other, other), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 171 - other => io::Error::new(ErrorKind::Other, other), 171 + other => io::Error::other(other), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L113
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:113:40 | 113 | io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 113 - io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), 113 + io_error: Arc::new(io::Error::other(other)), |
this can be `std::io::Error::other(_)`: lnx-tantivy/src/directory/vfs.rs#L79
warning: this can be `std::io::Error::other(_)` --> lnx-tantivy/src/directory/vfs.rs:79:36 | 79 | io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error = note: `#[warn(clippy::io_other_error)]` on by default help: use `std::io::Error::other` | 79 - io_error: Arc::new(io::Error::new(ErrorKind::Other, other)), 79 + io_error: Arc::new(io::Error::other(other)), |
associated function `new` is never used: lnx-tantivy/src/collectors/top_docs/mod.rs#L197
warning: associated function `new` is never used --> lnx-tantivy/src/collectors/top_docs/mod.rs:197:8 | 196 | impl<T: PartialOrd + Clone> TopSegmentCollector<T> { | -------------------------------------------------- associated function in this implementation 197 | fn new(segment_ord: SegmentOrdinal, limit: usize) -> TopSegmentCollector<T> { | ^^^ | = note: `#[warn(dead_code)]` on by default
unused import: `debug`: lnx-tantivy/src/directory/vfs.rs#L21
warning: unused import: `debug` --> lnx-tantivy/src/directory/vfs.rs:21:15 | 21 | use tracing::{debug, warn}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default
deref which would be done by auto-deref: lnx-fs/src/metastore/mod.rs#L125
warning: deref which would be done by auto-deref --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ help: try: `entry` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `#[warn(clippy::explicit_auto_deref)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: lnx-fs/src/metastore/mod.rs#L125
warning: this expression creates a reference which is immediately dereferenced by the compiler --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ help: change this to: `*entry` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
deref on an immutable reference: lnx-fs/src/metastore/mod.rs#L125
warning: deref on an immutable reference --> lnx-fs/src/metastore/mod.rs:125:34 | 125 | .filter(|entry| pred(&*entry)) | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref = note: `#[warn(clippy::borrow_deref_ref)]` on by default help: if you would like to reborrow, try removing `&*` | 125 - .filter(|entry| pred(&*entry)) 125 + .filter(|entry| pred(entry)) | help: if you would like to deref, try using `&**` | 125 | .filter(|entry| pred(&**entry)) | +
this can be `std::io::Error::other(_)`: lnx-fs/src/metastore/checkpoint.rs#L246
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/metastore/checkpoint.rs:246:22 | 246 | .map_err(|e| io::Error::new(ErrorKind::Other, e.to_string()))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 246 - .map_err(|e| io::Error::new(ErrorKind::Other, e.to_string()))?; 246 + .map_err(|e| io::Error::other(e.to_string()))?; |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/runtime.rs#L113
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/runtime.rs:113:13 | 113 | io::Error::new(ErrorKind::Other, "Runtime cancelled spawn task") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 113 - io::Error::new(ErrorKind::Other, "Runtime cancelled spawn task") 113 + io::Error::other("Runtime cancelled spawn task") |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/runtime.rs#L109
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/runtime.rs:109:13 | 109 | io::Error::new(ErrorKind::Other, "Worker IO runtime died, this is a bug") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 109 - io::Error::new(ErrorKind::Other, "Worker IO runtime died, this is a bug") 109 + io::Error::other("Worker IO runtime died, this is a bug") |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/actors/mod.rs#L46
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/actors/mod.rs:46:5 | 46 | / io::Error::new( 47 | | ErrorKind::Other, 48 | | "Writers failed to start or aborted, this is a bug", 49 | | ) | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error help: use `std::io::Error::other` | 46 ~ io::Error::other( 47 ~ "Writers failed to start or aborted, this is a bug", |
this can be `std::io::Error::other(_)`: lnx-fs/src/io/actors/tablet_reader.rs#L93
warning: this can be `std::io::Error::other(_)` --> lnx-fs/src/io/actors/tablet_reader.rs:93:13 | 93 | io::Error::new(ErrorKind::Other, "Reader closed") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error = note: `#[warn(clippy::io_other_error)]` on by default help: use `std::io::Error::other` | 93 - io::Error::new(ErrorKind::Other, "Reader closed") 93 + io::Error::other("Reader closed") |
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/