Skip to content

feature: add numeric column #2219

feature: add numeric column

feature: add numeric column #2219

Triggered via pull request May 23, 2024 20:02
Status Success
Total duration 3m 19s
Artifacts

rust-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id`: src/lib.rs#L630
warning: use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id` --> src/lib.rs:630:76 | 630 | ... web::put().to(handlers::chunk_handler::update_chunk_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id`: src/lib.rs#L714
warning: use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id` --> src/lib.rs:714:82 | 714 | ... handlers::group_handler::add_chunk_to_group_by_tracking_id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated function `handlers::group_handler::update_group_by_tracking_id`: src/lib.rs#L723
warning: use of deprecated function `handlers::group_handler::update_group_by_tracking_id` --> src/lib.rs:723:92 | 723 | ... web::put().to(handlers::group_handler::update_group_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
large size difference between variants: src/data/models.rs#L2466
warning: large size difference between variants --> src/data/models.rs:2466:1 | 2466 | / pub enum ConditionType { 2467 | | Field(FieldCondition), | | --------------------- the largest variant contains at least 360 bytes 2468 | | HasID(HasIDCondition), | | --------------------- the second-largest variant contains at least 48 bytes 2469 | | } | |_^ the entire enum is at least 360 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 | 2467 | Field(Box<FieldCondition>), | ~~~~~~~~~~~~~~~~~~~
using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait: src/handlers/chunk_handler.rs#L588
warning: using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait --> src/handlers/chunk_handler.rs:588:9 | 588 | / update_chunk_data 589 | | .location 590 | | .clone() | |____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default help: try removing the `clone` call | 588 ~ update_chunk_data 589 + .location |
`filter` for `Some` followed by `unwrap`: src/operators/chunk_operator.rs#L1228
warning: `filter` for `Some` followed by `unwrap` --> src/operators/chunk_operator.rs:1228:10 | 1228 | .filter(|x| x.is_some()) | __________^ 1229 | | .map(|x| x.unwrap()) | |____________________________^ help: consider using `flatten` instead: `flatten()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map = note: `#[warn(clippy::option_filter_map)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L42
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:42:28 | 42 | chunk.drain(0..amt_to_take as usize); | ^^^^^^^^^^^^^^^^^^^^ help: try: `amt_to_take` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L77
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:77:33 | 77 | target_group_size + cmp::min(remainder as usize, remainder_per_group as usize) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmp::min(remainder as usize, remainder_per_group as usize)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
redundant closure: src/operators/search_operator.rs#L103
warning: redundant closure --> src/operators/search_operator.rs:103:22 | 103 | .map(|id| UnifiedId::TrieveUuid(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrieveUuid` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `#[warn(clippy::redundant_closure)]` on by default
redundant closure: src/operators/search_operator.rs#L115
warning: redundant closure --> src/operators/search_operator.rs:115:22 | 115 | .map(|id| UnifiedId::TrackingId(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrackingId` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id`: src/lib.rs#L630
warning: use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id` --> src/lib.rs:630:76 | 630 | ... web::put().to(handlers::chunk_handler::update_chunk_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id`: src/lib.rs#L714
warning: use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id` --> src/lib.rs:714:82 | 714 | ... handlers::group_handler::add_chunk_to_group_by_tracking_id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated function `handlers::group_handler::update_group_by_tracking_id`: src/lib.rs#L723
warning: use of deprecated function `handlers::group_handler::update_group_by_tracking_id` --> src/lib.rs:723:92 | 723 | ... web::put().to(handlers::group_handler::update_group_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
large size difference between variants: src/data/models.rs#L2466
warning: large size difference between variants --> src/data/models.rs:2466:1 | 2466 | / pub enum ConditionType { 2467 | | Field(FieldCondition), | | --------------------- the largest variant contains at least 360 bytes 2468 | | HasID(HasIDCondition), | | --------------------- the second-largest variant contains at least 48 bytes 2469 | | } | |_^ the entire enum is at least 360 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 | 2467 | Field(Box<FieldCondition>), | ~~~~~~~~~~~~~~~~~~~
using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait: src/handlers/chunk_handler.rs#L588
warning: using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait --> src/handlers/chunk_handler.rs:588:9 | 588 | / update_chunk_data 589 | | .location 590 | | .clone() | |____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default help: try removing the `clone` call | 588 ~ update_chunk_data 589 + .location |
`filter` for `Some` followed by `unwrap`: src/operators/chunk_operator.rs#L1228
warning: `filter` for `Some` followed by `unwrap` --> src/operators/chunk_operator.rs:1228:10 | 1228 | .filter(|x| x.is_some()) | __________^ 1229 | | .map(|x| x.unwrap()) | |____________________________^ help: consider using `flatten` instead: `flatten()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map = note: `#[warn(clippy::option_filter_map)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L42
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:42:28 | 42 | chunk.drain(0..amt_to_take as usize); | ^^^^^^^^^^^^^^^^^^^^ help: try: `amt_to_take` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L77
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:77:33 | 77 | target_group_size + cmp::min(remainder as usize, remainder_per_group as usize) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmp::min(remainder as usize, remainder_per_group as usize)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
redundant closure: src/operators/search_operator.rs#L103
warning: redundant closure --> src/operators/search_operator.rs:103:22 | 103 | .map(|id| UnifiedId::TrieveUuid(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrieveUuid` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `#[warn(clippy::redundant_closure)]` on by default
redundant closure: src/operators/search_operator.rs#L115
warning: redundant closure --> src/operators/search_operator.rs:115:22 | 115 | .map(|id| UnifiedId::TrackingId(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrackingId` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id`: src/lib.rs#L630
warning: use of deprecated function `handlers::chunk_handler::update_chunk_by_tracking_id` --> src/lib.rs:630:76 | 630 | ... web::put().to(handlers::chunk_handler::update_chunk_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id`: src/lib.rs#L714
warning: use of deprecated function `handlers::group_handler::add_chunk_to_group_by_tracking_id` --> src/lib.rs:714:82 | 714 | ... handlers::group_handler::add_chunk_to_group_by_tracking_id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated function `handlers::group_handler::update_group_by_tracking_id`: src/lib.rs#L723
warning: use of deprecated function `handlers::group_handler::update_group_by_tracking_id` --> src/lib.rs:723:92 | 723 | ... web::put().to(handlers::group_handler::update_group_by_tracking_id), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
large size difference between variants: src/data/models.rs#L2466
warning: large size difference between variants --> src/data/models.rs:2466:1 | 2466 | / pub enum ConditionType { 2467 | | Field(FieldCondition), | | --------------------- the largest variant contains at least 360 bytes 2468 | | HasID(HasIDCondition), | | --------------------- the second-largest variant contains at least 48 bytes 2469 | | } | |_^ the entire enum is at least 360 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 | 2467 | Field(Box<FieldCondition>), | ~~~~~~~~~~~~~~~~~~~
using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait: src/handlers/chunk_handler.rs#L588
warning: using `clone` on type `Option<GeoInfo>` which implements the `Copy` trait --> src/handlers/chunk_handler.rs:588:9 | 588 | / update_chunk_data 589 | | .location 590 | | .clone() | |____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default help: try removing the `clone` call | 588 ~ update_chunk_data 589 + .location |
`filter` for `Some` followed by `unwrap`: src/operators/chunk_operator.rs#L1228
warning: `filter` for `Some` followed by `unwrap` --> src/operators/chunk_operator.rs:1228:10 | 1228 | .filter(|x| x.is_some()) | __________^ 1229 | | .map(|x| x.unwrap()) | |____________________________^ help: consider using `flatten` instead: `flatten()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map = note: `#[warn(clippy::option_filter_map)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L42
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:42:28 | 42 | chunk.drain(0..amt_to_take as usize); | ^^^^^^^^^^^^^^^^^^^^ help: try: `amt_to_take` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L77
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:77:33 | 77 | target_group_size + cmp::min(remainder as usize, remainder_per_group as usize) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmp::min(remainder as usize, remainder_per_group as usize)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
redundant closure: src/operators/search_operator.rs#L103
warning: redundant closure --> src/operators/search_operator.rs:103:22 | 103 | .map(|id| UnifiedId::TrieveUuid(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrieveUuid` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `#[warn(clippy::redundant_closure)]` on by default
redundant closure: src/operators/search_operator.rs#L115
warning: redundant closure --> src/operators/search_operator.rs:115:22 | 115 | .map(|id| UnifiedId::TrackingId(id)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `UnifiedId::TrackingId` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redoc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
redoc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/