Skip to content

[ENG-1634 / ENG-1636] Integrate Media Data Extractor and Thumbnail Actor with New Task System #8772

[ENG-1634 / ENG-1636] Integrate Media Data Extractor and Thumbnail Actor with New Task System

[ENG-1634 / ENG-1636] Integrate Media Data Extractor and Thumbnail Actor with New Task System #8772

Triggered via pull request April 29, 2024 21:50
Status Failure
Total duration 31m 59s
Artifacts 1

ci.yml

on: pull_request
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
Rust Formatting
Process completed with exit code 1.
struct `CompressedCRDTOperations` has a public `len` method, but no `is_empty` method: crates/sync/src/compressed.rs#L90
warning: struct `CompressedCRDTOperations` has a public `len` method, but no `is_empty` method --> crates/sync/src/compressed.rs:90:2 | 90 | pub fn len(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty = note: `#[warn(clippy::len_without_is_empty)]` on by default
use of deprecated function `accept_dir_for_its_children`: Use `[accept_dir_for_its_children_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L270
warning: use of deprecated function `accept_dir_for_its_children`: Use `[accept_dir_for_its_children_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:270:5 | 270 | accept_dir_for_its_children(source, children) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> core/crates/indexer-rules/src/lib.rs:25:2 | 25 | deprecated | ^^^^^^^^^^
use of deprecated function `reject_dir_for_its_children`: Use `[reject_dir_for_its_children_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L275
warning: use of deprecated function `reject_dir_for_its_children`: Use `[reject_dir_for_its_children_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:275:5 | 275 | reject_dir_for_its_children(source, children) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated method `RulePerKind::apply`: Use `[apply_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L338
warning: use of deprecated method `RulePerKind::apply`: Use `[apply_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:338:21 | 338 | .map(|rule| rule.apply(source.as_ref())) | ^^^^^
use of deprecated method `IndexerRule::apply`: Use `[apply_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L372
warning: use of deprecated method `IndexerRule::apply`: Use `[apply_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:372:21 | 372 | .map(|rule| rule.apply(source.as_ref())) | ^^^^^
function `media_data_image_to_query_params` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L30
warning: function `media_data_image_to_query_params` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:30:8 | 30 | pub fn media_data_image_to_query_params( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
function `media_data_image_from_prisma_data` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L58
warning: function `media_data_image_from_prisma_data` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:58:8 | 58 | pub fn media_data_image_from_prisma_data(data: media_data::Data) -> ImageMetadata { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
function `from_slice_option_to_option` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L72
warning: function `from_slice_option_to_option` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:72:4 | 72 | fn from_slice_option_to_option<T: Serialize + DeserializeOwned>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated functions `new`, `new_deep`, and `new_shallow` are never used: core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs#L58
warning: associated functions `new`, `new_deep`, and `new_shallow` are never used --> core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs:58:5 | 57 | impl MediaDataExtractor { | ----------------------- associated functions in this implementation 58 | fn new( | ^^^ ... 96 | pub fn new_deep( | ^^^^^^^^ ... 105 | pub fn new_shallow( | ^^^^^^^^^^^
static `FILTERED_IMAGE_EXTENSIONS` is never used: core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs#L266
warning: static `FILTERED_IMAGE_EXTENSIONS` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs:266:19 | 266 | pub(super) static FILTERED_IMAGE_EXTENSIONS: Lazy<Vec<Extension>> = Lazy::new(|| { | ^^^^^^^^^^^^^^^^^^^^^^^^^
struct `CompressedCRDTOperations` has a public `len` method, but no `is_empty` method: crates/sync/src/compressed.rs#L90
warning: struct `CompressedCRDTOperations` has a public `len` method, but no `is_empty` method --> crates/sync/src/compressed.rs:90:2 | 90 | pub fn len(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty = note: `#[warn(clippy::len_without_is_empty)]` on by default
use of deprecated function `accept_dir_for_its_children`: Use `[accept_dir_for_its_children_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L270
warning: use of deprecated function `accept_dir_for_its_children`: Use `[accept_dir_for_its_children_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:270:5 | 270 | accept_dir_for_its_children(source, children) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> core/crates/indexer-rules/src/lib.rs:25:2 | 25 | deprecated | ^^^^^^^^^^
use of deprecated function `reject_dir_for_its_children`: Use `[reject_dir_for_its_children_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L275
warning: use of deprecated function `reject_dir_for_its_children`: Use `[reject_dir_for_its_children_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:275:5 | 275 | reject_dir_for_its_children(source, children) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated method `RulePerKind::apply`: Use `[apply_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L338
warning: use of deprecated method `RulePerKind::apply`: Use `[apply_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:338:21 | 338 | .map(|rule| rule.apply(source.as_ref())) | ^^^^^
use of deprecated method `IndexerRule::apply`: Use `[apply_with_metadata]` instead: core/crates/indexer-rules/src/lib.rs#L372
warning: use of deprecated method `IndexerRule::apply`: Use `[apply_with_metadata]` instead --> core/crates/indexer-rules/src/lib.rs:372:21 | 372 | .map(|rule| rule.apply(source.as_ref())) | ^^^^^
function `media_data_image_to_query_params` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L30
warning: function `media_data_image_to_query_params` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:30:8 | 30 | pub fn media_data_image_to_query_params( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
function `media_data_image_from_prisma_data` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L58
warning: function `media_data_image_from_prisma_data` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:58:8 | 58 | pub fn media_data_image_from_prisma_data(data: media_data::Data) -> ImageMetadata { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
function `from_slice_option_to_option` is never used: core/crates/heavy-lifting/src/media_processor/tasks/mod.rs#L72
warning: function `from_slice_option_to_option` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/mod.rs:72:4 | 72 | fn from_slice_option_to_option<T: Serialize + DeserializeOwned>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated functions `new`, `new_deep`, and `new_shallow` are never used: core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs#L58
warning: associated functions `new`, `new_deep`, and `new_shallow` are never used --> core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs:58:5 | 57 | impl MediaDataExtractor { | ----------------------- associated functions in this implementation 58 | fn new( | ^^^ ... 96 | pub fn new_deep( | ^^^^^^^^ ... 105 | pub fn new_shallow( | ^^^^^^^^^^^
static `FILTERED_IMAGE_EXTENSIONS` is never used: core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs#L266
warning: static `FILTERED_IMAGE_EXTENSIONS` is never used --> core/crates/heavy-lifting/src/media_processor/tasks/media_data_extractor.rs:266:19 | 266 | pub(super) static FILTERED_IMAGE_EXTENSIONS: Lazy<Vec<Extension>> = Lazy::new(|| { | ^^^^^^^^^^^^^^^^^^^^^^^^^

Artifacts

Produced during runtime
Name Size
cypress-videos Expired
1.9 MB