Revert "feature: finish adding tag_set to the database" #2218
rust-tests.yml
on: pull_request
cargo-fmt
5s
clippy_check_ingestion
1m 53s
clippy_check_file_worker
1m 47s
clippy_check
1m 54s
redoc
2m 39s
Annotations
29 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#L2431
warning: large size difference between variants
--> src/data/models.rs:2431:1
|
2431 | / pub enum ConditionType {
2432 | | Field(FieldCondition),
| | --------------------- the largest variant contains at least 360 bytes
2433 | | HasID(HasIDCondition),
| | --------------------- the second-largest variant contains at least 48 bytes
2434 | | }
| |_^ 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
|
2432 | Field(Box<FieldCondition>),
| ~~~~~~~~~~~~~~~~~~~
|
`filter` for `Some` followed by `unwrap`:
src/operators/chunk_operator.rs#L1221
warning: `filter` for `Some` followed by `unwrap`
--> src/operators/chunk_operator.rs:1221:10
|
1221 | .filter(|x| x.is_some())
| __________^
1222 | | .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#L2431
warning: large size difference between variants
--> src/data/models.rs:2431:1
|
2431 | / pub enum ConditionType {
2432 | | Field(FieldCondition),
| | --------------------- the largest variant contains at least 360 bytes
2433 | | HasID(HasIDCondition),
| | --------------------- the second-largest variant contains at least 48 bytes
2434 | | }
| |_^ 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
|
2432 | Field(Box<FieldCondition>),
| ~~~~~~~~~~~~~~~~~~~
|
`filter` for `Some` followed by `unwrap`:
src/operators/chunk_operator.rs#L1221
warning: `filter` for `Some` followed by `unwrap`
--> src/operators/chunk_operator.rs:1221:10
|
1221 | .filter(|x| x.is_some())
| __________^
1222 | | .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#L2431
warning: large size difference between variants
--> src/data/models.rs:2431:1
|
2431 | / pub enum ConditionType {
2432 | | Field(FieldCondition),
| | --------------------- the largest variant contains at least 360 bytes
2433 | | HasID(HasIDCondition),
| | --------------------- the second-largest variant contains at least 48 bytes
2434 | | }
| |_^ 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
|
2432 | Field(Box<FieldCondition>),
| ~~~~~~~~~~~~~~~~~~~
|
`filter` for `Some` followed by `unwrap`:
src/operators/chunk_operator.rs#L1221
warning: `filter` for `Some` followed by `unwrap`
--> src/operators/chunk_operator.rs:1221:10
|
1221 | .filter(|x| x.is_some())
| __________^
1222 | | .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/
|