Fixes and more tests #139
Annotations
2 errors and 67 warnings
this comparison involving the minimum or maximum element for this type contains a case that is always true or always false:
azure-kusto-data/src/operations/v2.rs#L18
error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
--> azure-kusto-data/src/operations/v2.rs:18:12
|
18 | if size <= 0 {
| ^^^^^^^^^
|
= help: because `0` is the minimum value for this type, the case where the two sides are not equal never occurs, consider using `size == 0` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
= note: `#[deny(clippy::absurd_extreme_comparisons)]` on by default
|
build-data
Clippy had exited with the 101 exit code
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/known_tables.rs#L14
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/known_tables.rs:14:1
|
14 | pub struct QueryCompletionInformation {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/known_tables.rs#L6
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/known_tables.rs:6:1
|
6 | pub struct QueryProperties {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L57
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:57:5
|
57 | pub activity_stack: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L56
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:56:5
|
56 | pub parent_activity_id: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L55
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:55:5
|
55 | pub activity_type: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L54
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:54:5
|
54 | pub sub_activity_id: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L53
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:53:5
|
53 | pub activity_id: String,
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L52
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:52:5
|
52 | pub client_request_id: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L51
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:51:5
|
51 | pub thread_id: i32,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L50
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:50:5
|
50 | pub process_id: i32,
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L49
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:49:5
|
49 | pub process_name: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L48
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:48:5
|
48 | pub machine_name: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L47
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:47:5
|
47 | pub service_alias: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L46
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:46:5
|
46 | pub timestamp: String,
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/errors.rs#L45
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/errors.rs:45:1
|
45 | pub struct ErrorContext {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L40
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:40:5
|
40 | pub is_permanent: bool,
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L38
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:38:5
|
38 | pub context: ErrorContext,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L36
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:36:5
|
36 | pub r#type: String,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L34
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:34:5
|
34 | pub description: String,
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L32
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:32:5
|
32 | pub message: String,
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L31
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:31:5
|
31 | pub code: String,
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/errors.rs#L30
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/errors.rs:30:1
|
30 | pub struct ErrorMessage {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/errors.rs#L13
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/errors.rs:13:1
|
13 | pub struct OneApiError {
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
azure-kusto-data/src/models/v2/errors.rs#L8
warning: missing documentation for a struct field
--> azure-kusto-data/src/models/v2/errors.rs:8:5
|
8 | pub errors: Vec<OneApiError>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
azure-kusto-data/src/models/v2/errors.rs#L6
warning: missing documentation for a struct
--> azure-kusto-data/src/models/v2/errors.rs:6:1
|
6 | pub struct OneApiErrors {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
azure-kusto-data/src/models/v2/mod.rs#L120
warning: missing documentation for a type alias
--> azure-kusto-data/src/models/v2/mod.rs:120:1
|
120 | pub type DataSet = Vec<Frame>;
| ^^^^^^^^^^^^^^^^
|
missing documentation for a method:
azure-kusto-data/src/models/v2/mod.rs#L96
warning: missing documentation for a method
--> azure-kusto-data/src/models/v2/mod.rs:96:5
|
96 | pub fn deserialize_values<T: serde::de::DeserializeOwned>(&self) -> Partial<Vec<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
azure-kusto-data/src/models/v2/mod.rs#L77
warning: missing documentation for a method
--> azure-kusto-data/src/models/v2/mod.rs:77:5
|
77 | pub fn collect_values(&self) -> Partial<serde_json::Value> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
azure-kusto-data/src/models/v2/mod.rs#L71
warning: missing documentation for a method
--> azure-kusto-data/src/models/v2/mod.rs:71:5
|
71 | pub fn into_result(self) -> Result<Vec<serde_json::Value>, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an enum:
azure-kusto-data/src/models/v2/mod.rs#L49
warning: missing documentation for an enum
--> azure-kusto-data/src/models/v2/mod.rs:49:1
|
49 | pub enum Row {
| ^^^^^^^^^^^^
|
missing documentation for a module:
azure-kusto-data/src/models/mod.rs#L2
warning: missing documentation for a module
--> azure-kusto-data/src/models/mod.rs:2:1
|
2 | pub mod v2;
| ^^^^^^^^^^
|
missing documentation for a module:
azure-kusto-data/src/models/mod.rs#L1
warning: missing documentation for a module
--> azure-kusto-data/src/models/mod.rs:1:1
|
1 | pub mod v1;
| ^^^^^^^^^^
|
missing documentation for a type alias:
azure-kusto-data/src/error.rs#L142
warning: missing documentation for a type alias
--> azure-kusto-data/src/error.rs:142:1
|
142 | pub type Partial<T> = std::result::Result<T, (Option<T>, Error)>;
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
azure-kusto-data/src/lib.rs#L16
warning: missing documentation for a module
--> azure-kusto-data/src/lib.rs:16:1
|
16 | pub mod models;
| ^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> azure-kusto-data/src/lib.rs:1:9
|
1 | #![warn(missing_docs)]
| ^^^^^^^^^^^^
|
unneeded `return` statement:
azure-kusto-data/src/operations/v2.rs#L40
warning: unneeded `return` statement
--> azure-kusto-data/src/operations/v2.rs:40:5
|
40 | return Ok(serde_json::from_slice(&buf)?);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
40 - return Ok(serde_json::from_slice(&buf)?);
40 + Ok(serde_json::from_slice(&buf)?)
|
|
the method `send` doesn't need a mutable reference:
azure-kusto-data/src/operations/query.rs#L84
warning: the method `send` doesn't need a mutable reference
--> azure-kusto-data/src/operations/query.rs:84:19
|
84 | .send(&mut context, &mut request)
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/models/v2/mod.rs#L71
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/models/v2/mod.rs:71:33
|
71 | pub fn into_result(self) -> Result<Vec<serde_json::Value>, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
azure-kusto-data/src/models/v2/mod.rs#L56
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> azure-kusto-data/src/models/v2/mod.rs:56:1
|
56 | impl Into<Result<Vec<serde_json::Value>, Error>> for Row {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see
https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
= note: `#[warn(clippy::from_over_into)]` on by default
help: replace the `Into` implementation with `From<models::v2::Row>`
|
56 ~ impl From<Row> for Result<Vec<serde_json::Value>, Error> {
57 ~ fn from(val: Row) -> Self {
58 ~ match val {
|
|
useless conversion to the same type: `error::Error`:
azure-kusto-data/src/error.rs#L66
warning: useless conversion to the same type: `error::Error`
--> azure-kusto-data/src/error.rs:66:13
|
66 | Error::from(errors.into_iter().next().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Error::from()`: `errors.into_iter().next().unwrap()`
|
= 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
|
large size difference between variants:
azure-kusto-data/src/error.rs#L9
warning: large size difference between variants
--> azure-kusto-data/src/error.rs:9:1
|
9 | / pub enum Error {
10 | | /// Raised when failing to convert a kusto response to the expected type.
11 | | #[error("Error converting Kusto response for {0}")]
12 | | ConversionError(String),
... |
36 | | AzureError(#[from] azure_core::error::Error),
| | -------------------------------------------- the second-largest variant contains at least 72 bytes
... |
56 | | QueryApiError(OneApiError),
| | -------------------------- the largest variant contains at least 352 bytes
... |
60 | | MultipleErrors(Vec<Error>),
61 | | }
| |_^ the entire enum is at least 0 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
56 | QueryApiError(Box<OneApiError>),
| ~~~~~~~~~~~~~~~~
|
the method `send` doesn't need a mutable reference:
azure-kusto-data/src/cloud_info.rs#L65
warning: the method `send` doesn't need a mutable reference
--> azure-kusto-data/src/cloud_info.rs:65:38
|
65 | let response = pipeline.send(&mut Context::new(), &mut request).await?;
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/client.rs#L94
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/client.rs:94:85
|
94 | pub fn new(connection_string: ConnectionString, options: KustoClientOptions) -> Result<Self> {
| ^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L117
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:117:43
|
117 | pub fn convert_table(table: DataTable) -> Result<RecordBatch> {
| ^^^^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L84
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:84:61
|
84 | pub fn convert_column(data: Vec<Value>, column: &Column) -> Result<(Field, ArrayRef)> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L79
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:79:45
|
79 | fn convert_array_i64(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L74
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:74:45
|
74 | fn convert_array_i32(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L69
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:69:46
|
69 | fn convert_array_bool(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L55
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:55:50
|
55 | fn convert_array_timespan(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L47
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:47:47
|
47 | fn convert_array_float(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L38
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:38:34
|
38 | fn safe_map_f64(value: Value) -> Result<Option<f64>> {
| ^^^^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L23
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:23:50
|
23 | fn convert_array_datetime(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
azure-kusto-data/src/arrow.rs#L17
warning: the `Err`-variant returned from this function is very large
--> azure-kusto-data/src/arrow.rs:17:48
|
17 | fn convert_array_string(values: Vec<Value>) -> Result<ArrayRef> {
| ^^^^^^^^^^^^^^^^
|
::: azure-kusto-data/src/error.rs:56:5
|
56 | QueryApiError(OneApiError),
| -------------------------- the largest variant contains at least 352 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
enum `KustoValue` is never used:
azure-kusto-data/src/types/mod.rs#L93
warning: enum `KustoValue` is never used
--> azure-kusto-data/src/types/mod.rs:93:6
|
93 | enum KustoValue {
| ^^^^^^^^^^
|
associated items `new` and `populate_with_stream` are never used:
azure-kusto-data/src/operations/v2.rs#L57
warning: associated items `new` and `populate_with_stream` are never used
--> azure-kusto-data/src/operations/v2.rs:57:8
|
56 | impl StreamingDataset {
| --------------------- associated items in this implementation
57 | fn new(stream: impl Stream<Item = Result<Frame>> + Send + 'static) -> Arc<Self> {
| ^^^
...
76 | async fn populate_with_stream(
| ^^^^^^^^^^^^^^^^^^^^
|
struct `StreamingDataset` is never constructed:
azure-kusto-data/src/operations/v2.rs#L48
warning: struct `StreamingDataset` is never constructed
--> azure-kusto-data/src/operations/v2.rs:48:8
|
48 | struct StreamingDataset {
| ^^^^^^^^^^^^^^^^
|
type alias `OM` is never used:
azure-kusto-data/src/operations/v2.rs#L46
warning: type alias `OM` is never used
--> azure-kusto-data/src/operations/v2.rs:46:6
|
46 | type OM<T> = M<Option<T>>;
| ^^
|
type alias `M` is never used:
azure-kusto-data/src/operations/v2.rs#L44
warning: type alias `M` is never used
--> azure-kusto-data/src/operations/v2.rs:44:6
|
44 | type M<T> = Arc<Mutex<T>>;
| ^
|
function `parse_frames_full` is never used:
azure-kusto-data/src/operations/v2.rs#L35
warning: function `parse_frames_full` is never used
--> azure-kusto-data/src/operations/v2.rs:35:14
|
35 | pub async fn parse_frames_full(
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `StreamExt`:
azure-kusto-data/src/operations/v2.rs#L6
warning: unused import: `StreamExt`
--> azure-kusto-data/src/operations/v2.rs:6:75
|
6 | pin_mut, stream, AsyncBufRead, AsyncBufReadExt, AsyncReadExt, Stream, StreamExt, TryStreamExt,
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused variable: `table_completion`:
azure-kusto-data/src/operations/v2.rs#L135
warning: unused variable: `table_completion`
--> azure-kusto-data/src/operations/v2.rs:135:44
|
135 | v2::Frame::TableCompletion(table_completion) => {
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_completion`
|
= note: `#[warn(unused_variables)]` on by default
|
build-data
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-data
At least one of the FILES, JUNIT_FILES, NUNIT_FILES, XUNIT_FILES, or TRX_FILES options has to be set! Falling back to deprecated default "*.xml"
|
build-data
Could not find any files for *.xml
|
build-data
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/
|
build-data
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/
|
build-data
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/
|
build-data
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/
|