Skip to content

More passing tests (but more errors) #137

More passing tests (but more errors)

More passing tests (but more errors) #137

Triggered via push January 2, 2024 14:05
Status Failure
Total duration 3m 21s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 54 warnings
build-data
Process completed with exit code 1.
missing documentation for a struct: azure-kusto-data/src/models/v2/errors.rs#L36
warning: missing documentation for a struct --> azure-kusto-data/src/models/v2/errors.rs:36:1 | 36 | pub struct ErrorContext { | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: azure-kusto-data/src/models/v2/errors.rs#L23
warning: missing documentation for a struct --> azure-kusto-data/src/models/v2/errors.rs:23:1 | 23 | pub struct ErrorMessage { | ^^^^^^^^^^^^^^^^^^^^^^^
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 OneApiError { | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: azure-kusto-data/src/models/v2/mod.rs#L68
warning: missing documentation for a type alias --> azure-kusto-data/src/models/v2/mod.rs:68:1 | 68 | pub type DataSet = Vec<Frame>; | ^^^^^^^^^^^^^^^^
missing documentation for a method: azure-kusto-data/src/models/v2/mod.rs#L63
warning: missing documentation for a method --> azure-kusto-data/src/models/v2/mod.rs:63:5 | 63 | pub fn into_result(self) -> Result<Vec<serde_json::Value>, OneApiError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an enum: azure-kusto-data/src/models/v2/mod.rs#L46
warning: missing documentation for an enum --> azure-kusto-data/src/models/v2/mod.rs:46:1 | 46 | 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 variant: azure-kusto-data/src/error.rs#L78
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:78:5 | 78 | Dynamic(#[from] serde_json::Error), | ^^^^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L76
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:76:5 | 76 | Decimal(#[from] rust_decimal::Error), | ^^^^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L74
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:74:5 | 74 | Guid(#[from] uuid::Error), | ^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L72
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:72:5 | 72 | DateTime(#[from] time::error::Parse), | ^^^^^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L70
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:70:5 | 70 | Timespan(String), | ^^^^^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L68
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:68:5 | 68 | Bool(#[from] std::str::ParseBoolError), | ^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L66
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:66:5 | 66 | Float(#[from] std::num::ParseFloatError), | ^^^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L64
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:64:5 | 64 | Int(#[from] std::num::ParseIntError), | ^^^
missing documentation for a variant: azure-kusto-data/src/error.rs#L62
warning: missing documentation for a variant --> azure-kusto-data/src/error.rs:62:5 | 62 | ValueNull(String), | ^^^^^^^^^
missing documentation for an enum: azure-kusto-data/src/error.rs#L60
warning: missing documentation for an enum --> azure-kusto-data/src/error.rs:60:1 | 60 | pub enum ParseError { | ^^^^^^^^^^^^^^^^^^^
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#L31
warning: unneeded `return` statement --> azure-kusto-data/src/operations/v2.rs:31:5 | 31 | 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` | 31 - return Ok(serde_json::from_slice(&buf)?); 31 + 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#L63
warning: the `Err`-variant returned from this function is very large --> azure-kusto-data/src/models/v2/mod.rs:63:33 | 63 | pub fn into_result(self) -> Result<Vec<serde_json::Value>, OneApiError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 328 bytes | = help: try reducing the size of `models::v2::errors::OneApiError`, for example by boxing large elements or replacing it with `Box<models::v2::errors::OneApiError>` = 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#L53
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:53:1 | 53 | impl Into<Result<Vec<serde_json::Value>, OneApiError>> 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>` | 53 ~ impl From<Row> for Result<Vec<serde_json::Value>, OneApiError> { 54 ~ fn from(val: Row) -> Self { 55 ~ match val { |
large size difference between variants: azure-kusto-data/src/models/v2/mod.rs#L46
warning: large size difference between variants --> azure-kusto-data/src/models/v2/mod.rs:46:1 | 46 | / pub enum Row { 47 | | /// A row in a table. 48 | | Values(Vec<serde_json::Value>), | | ------------------------------ the second-largest variant contains at least 0 bytes 49 | | /// An error in a table. 50 | | Error(OneApiError), | | ------------------ the largest variant contains at least 328 bytes 51 | | } | |_^ 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 help: consider boxing the large fields to reduce the total size of the enum | 50 | Error(Box<OneApiError>), | ~~~~~~~~~~~~~~~~
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 328 bytes 57 | | } | |_^ the entire enum is at least 328 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#L95
warning: the `Err`-variant returned from this function is very large --> azure-kusto-data/src/client.rs:95:85 | 95 | 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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
associated function `new` is never used: azure-kusto-data/src/types/timespan.rs#L29
warning: associated function `new` is never used --> azure-kusto-data/src/types/timespan.rs:29:8 | 27 | impl KustoTimespan { | ------------------ associated function in this implementation 28 | /// Creates a new `KustoTimespan` from a `std::time::Duration`. 29 | fn new(duration: Duration) -> Self { | ^^^
function `parse_frames_full` is never used: azure-kusto-data/src/operations/v2.rs#L26
warning: function `parse_frames_full` is never used --> azure-kusto-data/src/operations/v2.rs:26:14 | 26 | pub async fn parse_frames_full( | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` 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
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/
build-data
Error parsing Cargo.toml manifest, fallback to caching entire file: Error: Invalid TOML document: expected key-value, found comma 40: derive_builder = "0.12" 41: derive_more = { version = "1.0.0-beta.6" , features = ["from", "into", "display", "from_str"] } ^ 42: once_cell = "1"