Skip to content

Add basic bazel build (S-Core Integration) - #348

Draft
theswiftfox wants to merge 15 commits into
mainfrom
feat/bazel
Draft

Add basic bazel build (S-Core Integration)#348
theswiftfox wants to merge 15 commits into
mainfrom
feat/bazel

Fix pre-commit REUSE hook stability

04fad49
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / clippy completed Jul 14, 2026 in 0s

reviewdog [clippy] report

reported by reviewdog 馃惗

Findings (3)

cda-interfaces/src/ecuuds.rs|972 col 9| error: unused async for async trait impl function with no .await statements
--> cda-interfaces/src/ecuuds.rs:972:9
|
972 | / async fn schema_for_request(
973 | | &self,
974 | | ecu: &str,
975 | | service: &crate::DiagComm,
976 | | ) -> Result<SchemaDescription, DiagServiceError> {
977 | | Err(DiagServiceError::NotFound(String::new()))
978 | | }
| |
^
|
= note: std::future::ready creates a Future which returns the value immediately when polled
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
= note: -D clippy::unused-async-trait-impl implied by -D clippy::pedantic
= help: to override -D clippy::pedantic add #[allow(clippy::unused_async_trait_impl)]
help: consider removing the async from this function and returning impl Future<Output = Result<SchemaDescription, DiagServiceError>> instead
|
972 ~ fn schema_for_request(
973 | &self,
974 | ecu: &str,
975 | service: &crate::DiagComm,
976 ~ ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
977 ~ std::future::ready(Err(DiagServiceError::NotFound(String::new())))
|
cda-interfaces/src/ecuuds.rs|980 col 9| error: unused async for async trait impl function with no .await statements
--> cda-interfaces/src/ecuuds.rs:980:9
|
980 | / async fn schema_for_responses(
981 | | &self,
982 | | ecu: &str,
983 | | service: &crate::DiagComm,
984 | | ) -> Result<SchemaDescription, DiagServiceError> {
985 | | Err(DiagServiceError::NotFound(String::new()))
986 | | }
| |
^
|
= note: std::future::ready creates a Future which returns the value immediately when polled
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the async from this function and returning impl Future<Output = Result<SchemaDescription, DiagServiceError>> instead
|
980 ~ fn schema_for_responses(
981 | &self,
982 | ecu: &str,
983 | service: &crate::DiagComm,
984 ~ ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
985 ~ std::future::ready(Err(DiagServiceError::NotFound(String::new())))
|
cda-interfaces/src/ecuuds.rs|988 col 9| error: unused async for async trait impl function with no .await statements
--> cda-interfaces/src/ecuuds.rs:988:9
|
988 | / async fn schema_for_fg_request(
989 | | &self,
990 | | service: &crate::DiagComm,
991 | | functional_group_name: &str,
992 | | ) -> Result<SchemaDescription, DiagServiceError> {
993 | | Err(DiagServiceError::NotFound(String::new()))
994 | | }
| |
___^
|
= note: std::future::ready creates a Future which returns the value immediately when polled
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the async from this function and returning impl Future<Output = Result<SchemaDescription, DiagServiceError>> instead
|
988 ~ fn schema_for_fg_request(
989 | &self,
990 | _service: &crate::DiagComm,
991 | _functional_group_name: &str,
992 ~ ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
993 ~ std::future::ready(Err(DiagServiceError::NotFound(String::new())))
|

Filtered Findings (0)

Annotations

Check failure on line 972 in cda-interfaces/src/ecuuds.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] cda-interfaces/src/ecuuds.rs#L972

error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:972:9
    |
972 | /         async fn schema_for_request(
973 | |             &self,
974 | |             _ecu: &str,
975 | |             _service: &crate::DiagComm,
976 | |         ) -> Result<SchemaDescription, DiagServiceError> {
977 | |             Err(DiagServiceError::NotFound(String::new()))
978 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
    = note: `-D clippy::unused-async-trait-impl` implied by `-D clippy::pedantic`
    = help: to override `-D clippy::pedantic` add `#[allow(clippy::unused_async_trait_impl)]`
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
972 ~         fn schema_for_request(
973 |             &self,
974 |             _ecu: &str,
975 |             _service: &crate::DiagComm,
976 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
977 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |
Raw output
cda-interfaces/src/ecuuds.rs:972:9:e:error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:972:9
    |
972 | /         async fn schema_for_request(
973 | |             &self,
974 | |             _ecu: &str,
975 | |             _service: &crate::DiagComm,
976 | |         ) -> Result<SchemaDescription, DiagServiceError> {
977 | |             Err(DiagServiceError::NotFound(String::new()))
978 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
    = note: `-D clippy::unused-async-trait-impl` implied by `-D clippy::pedantic`
    = help: to override `-D clippy::pedantic` add `#[allow(clippy::unused_async_trait_impl)]`
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
972 ~         fn schema_for_request(
973 |             &self,
974 |             _ecu: &str,
975 |             _service: &crate::DiagComm,
976 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
977 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |


__END__

Check failure on line 980 in cda-interfaces/src/ecuuds.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] cda-interfaces/src/ecuuds.rs#L980

error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:980:9
    |
980 | /         async fn schema_for_responses(
981 | |             &self,
982 | |             _ecu: &str,
983 | |             _service: &crate::DiagComm,
984 | |         ) -> Result<SchemaDescription, DiagServiceError> {
985 | |             Err(DiagServiceError::NotFound(String::new()))
986 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
980 ~         fn schema_for_responses(
981 |             &self,
982 |             _ecu: &str,
983 |             _service: &crate::DiagComm,
984 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
985 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |
Raw output
cda-interfaces/src/ecuuds.rs:980:9:e:error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:980:9
    |
980 | /         async fn schema_for_responses(
981 | |             &self,
982 | |             _ecu: &str,
983 | |             _service: &crate::DiagComm,
984 | |         ) -> Result<SchemaDescription, DiagServiceError> {
985 | |             Err(DiagServiceError::NotFound(String::new()))
986 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
980 ~         fn schema_for_responses(
981 |             &self,
982 |             _ecu: &str,
983 |             _service: &crate::DiagComm,
984 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
985 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |


__END__

Check failure on line 988 in cda-interfaces/src/ecuuds.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] cda-interfaces/src/ecuuds.rs#L988

error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:988:9
    |
988 | /         async fn schema_for_fg_request(
989 | |             &self,
990 | |             _service: &crate::DiagComm,
991 | |             _functional_group_name: &str,
992 | |         ) -> Result<SchemaDescription, DiagServiceError> {
993 | |             Err(DiagServiceError::NotFound(String::new()))
994 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
988 ~         fn schema_for_fg_request(
989 |             &self,
990 |             _service: &crate::DiagComm,
991 |             _functional_group_name: &str,
992 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
993 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |
Raw output
cda-interfaces/src/ecuuds.rs:988:9:e:error: unused `async` for async trait impl function with no `.await` statements
   --> cda-interfaces/src/ecuuds.rs:988:9
    |
988 | /         async fn schema_for_fg_request(
989 | |             &self,
990 | |             _service: &crate::DiagComm,
991 | |             _functional_group_name: &str,
992 | |         ) -> Result<SchemaDescription, DiagServiceError> {
993 | |             Err(DiagServiceError::NotFound(String::new()))
994 | |         }
    | |_________^
    |
    = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async_trait_impl
help: consider removing the `async` from this function and returning `impl Future<Output = Result<SchemaDescription, DiagServiceError>>` instead
    |
988 ~         fn schema_for_fg_request(
989 |             &self,
990 |             _service: &crate::DiagComm,
991 |             _functional_group_name: &str,
992 ~         ) -> impl Future<Output = Result<SchemaDescription, DiagServiceError>> {
993 ~             std::future::ready(Err(DiagServiceError::NotFound(String::new())))
    |


__END__