Skip to content

Rustus has been rewritten from scratch #179

Rustus has been rewritten from scratch

Rustus has been rewritten from scratch #179

Triggered via pull request November 17, 2023 10:31
Status Failure
Total duration 1m 18s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 15 warnings
fmt_check
Process completed with exit code 1.
tests
Process completed with exit code 101.
functions in traits cannot be declared `async`: src/info_storages/mod.rs#L59
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/mod.rs:59:5 | 59 | async fn remove_info(&self, file_id: &str) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/mod.rs#L52
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/mod.rs:52:5 | 52 | async fn get_info(&self, file_id: &str) -> RustusResult<crate::models::file_info::FileInfo> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/mod.rs#L41
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/mod.rs:41:5 | 41 | async fn set_info( | ^---- | | | _____`async` because of this | | 42 | | &self, 43 | | file_info: &crate::models::file_info::FileInfo, 44 | | create: bool, 45 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/mod.rs#L34
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/mod.rs:34:5 | 34 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/redis_info_storage.rs#L82
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/redis_info_storage.rs:82:5 | 82 | async fn remove_info(&self, file_id: &str) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/redis_info_storage.rs#L70
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/redis_info_storage.rs:70:5 | 70 | async fn get_info(&self, file_id: &str) -> RustusResult<FileInfo> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/redis_info_storage.rs#L57
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/redis_info_storage.rs:57:5 | 57 | async fn set_info(&self, file_info: &FileInfo, _create: bool) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/redis_info_storage.rs#L53
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/redis_info_storage.rs:53:5 | 53 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/file_info_storage.rs#L56
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/file_info_storage.rs:56:5 | 56 | async fn remove_info(&self, file_id: &str) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/file_info_storage.rs#L47
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/file_info_storage.rs:47:5 | 47 | async fn get_info(&self, file_id: &str) -> RustusResult<FileInfo> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/file_info_storage.rs#L32
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/file_info_storage.rs:32:5 | 32 | async fn set_info(&self, file_info: &FileInfo, create: bool) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/file_info_storage.rs#L25
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/file_info_storage.rs:25:5 | 25 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/base.rs#L37
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/base.rs:37:5 | 37 | async fn remove_info(&self, file_id: &str) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/base.rs#L31
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/base.rs:31:5 | 31 | async fn get_info(&self, file_id: &str) -> RustusResult<FileInfo>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/base.rs#L25
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/base.rs:25:5 | 25 | async fn set_info(&self, file_info: &FileInfo, create: bool) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/info_storages/base.rs#L12
error[E0706]: functions in traits cannot be declared `async` --> src/info_storages/base.rs:12:5 | 12 | async fn prepare(&mut self) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L81
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:81:5 | 81 | async fn remove_file( | ^---- | | | _____`async` because of this | | 82 | | &self, 83 | | file_info: &crate::models::file_info::FileInfo, 84 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L70
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:70:5 | 70 | async fn concat_files( | ^---- | | | _____`async` because of this | | 71 | | &self, 72 | | file_info: &crate::models::file_info::FileInfo, 73 | | parts_info: Vec<crate::models::file_info::FileInfo>, 74 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L60
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:60:5 | 60 | async fn create_file( | ^---- | | | _____`async` because of this | | 61 | | &self, 62 | | file_info: &crate::models::file_info::FileInfo, 63 | | ) -> RustusResult<String> { | |_____________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L49
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:49:5 | 49 | async fn add_bytes( | ^---- | | | _____`async` because of this | | 50 | | &self, 51 | | file_info: &crate::models::file_info::FileInfo, 52 | | bytes: bytes::Bytes, 53 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L38
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:38:5 | 38 | async fn get_contents( | ^---- | | | _____`async` because of this | | 39 | | &self, 40 | | file_info: &crate::models::file_info::FileInfo, 41 | | request: &axum::extract::Request, 42 | | ) -> crate::errors::RustusResult<axum::response::Response> { | |______________________________________________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/mod.rs#L31
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/mod.rs:31:5 | 31 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L176
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:176:5 | 176 | async fn remove_file(&self, file_info: &FileInfo) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L168
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:168:5 | 168 | async fn concat_files( | ^---- | | | _____`async` because of this | | 169 | | &self, 170 | | _file_info: &FileInfo, 171 | | _parts_info: Vec<FileInfo>, 172 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L164
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:164:5 | 164 | async fn create_file(&self, file_info: &FileInfo) -> RustusResult<String> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L153
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:153:5 | 153 | async fn add_bytes(&self, file_info: &FileInfo, bytes: Bytes) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L135
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:135:5 | 135 | async fn get_contents( | ^---- | | | _____`async` because of this | | 136 | | &self, 137 | | file_info: &FileInfo, 138 | | request: &Request, 139 | | ) -> RustusResult<Response> { | |_______________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/s3_hybrid.rs#L131
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/s3_hybrid.rs:131:5 | 131 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L160
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:160:5 | 160 | async fn remove_file(&self, file_info: &FileInfo) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L127
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:127:5 | 127 | async fn concat_files( | ^---- | | | _____`async` because of this | | 128 | | &self, 129 | | file_info: &FileInfo, 130 | | parts_info: Vec<FileInfo>, 131 | | ) -> RustusResult<()> { | |_________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L111
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:111:5 | 111 | async fn create_file(&self, file_info: &FileInfo) -> RustusResult<String> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L81
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:81:5 | 81 | async fn add_bytes(&self, file_info: &FileInfo, bytes: Bytes) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L62
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:62:5 | 62 | async fn get_contents( | ^---- | | | _____`async` because of this | | 63 | | &self, 64 | | file_info: &FileInfo, 65 | | _request: &axum::extract::Request, 66 | | ) -> RustusResult<Response> { | |_______________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/file_storage.rs#L51
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/file_storage.rs:51:5 | 51 | async fn prepare(&mut self) -> RustusResult<()> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L85
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:85:5 | 85 | async fn remove_file(&self, file_info: &FileInfo) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L72
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:72:5 | 72 | async fn concat_files( | ^---- | | | _____`async` because of this | | 73 | | &self, 74 | | file_info: &FileInfo, 75 | | parts_info: Vec<FileInfo>, 76 | | ) -> RustusResult<()>; | |__________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L61
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:61:5 | 61 | async fn create_file(&self, file_info: &FileInfo) -> RustusResult<String>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L51
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:51:5 | 51 | async fn add_bytes(&self, file_info: &FileInfo, bytes: Bytes) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L31
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:31:5 | 31 | async fn get_contents( | ^---- | | | _____`async` because of this | | 32 | | &self, 33 | | file_info: &FileInfo, 34 | | request: &axum::extract::Request, 35 | | ) -> RustusResult<axum::response::Response>; | |________________________________________________^ | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
functions in traits cannot be declared `async`: src/data_storage/base.rs#L21
error[E0706]: functions in traits cannot be declared `async` --> src/data_storage/base.rs:21:5 | 21 | async fn prepare(&mut self) -> RustusResult<()>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
binding's name is too similar to existing binding: src/utils/headers.rs#L42
error: binding's name is too similar to existing binding --> src/utils/headers.rs:42:17 | 42 | let val = kval.next(); | ^^^ | note: existing binding defined here --> src/utils/headers.rs:40:21 | 40 | let mut kval = meta_entry.trim().split(' '); | ^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
binding's name is too similar to existing binding: src/server/mod.rs#L19
error: binding's name is too similar to existing binding --> src/server/mod.rs:19:9 | 19 | let res = next.run(req).await; | ^^^ | note: existing binding defined here --> src/server/mod.rs:8:5 | 8 | req: axum::extract::Request, | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names = note: `-D clippy::similar-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::similar_names)]`
unknown lint: `async_fn_in_trait`: src/main.rs#L1
error: unknown lint: `async_fn_in_trait` --> src/main.rs:1:10 | 1 | #![allow(async_fn_in_trait)] | ^^^^^^^^^^^^^^^^^ | = note: `-D unknown-lints` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unknown_lints)]`
code_check
Clippy had exited with the 101 exit code
fmt_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt_check
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/
fmt_check
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/
fmt_check
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/
fmt_check
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/
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
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/
tests
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/
tests
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/
tests
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/
code_check
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
code_check
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/
code_check
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/
code_check
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/
code_check
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/