Skip to content

Use nightly on CI.

Use nightly on CI. #84

Triggered via push December 17, 2023 05:04
Status Failure
Total duration 1m 7s
Artifacts
Build and test
59s
Build and test
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 10 warnings
functions in traits cannot be declared `async`: src/broker/handler/mod.rs#L22
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/mod.rs:22:5 | 22 | async fn do_handle(&self, req: Req) -> Result<Res> { | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `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/broker/handler/metadata.rs#L17
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/metadata.rs:17:5 | 17 | async fn handle( | ^---- | | | _____`async` because of this | | 18 | | &self, 19 | | req: MetadataRequest, 20 | | mut res: MetadataResponse, 21 | | ) -> anyhow::Result<MetadataResponse> { | |_________________________________________^ | = 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/broker/handler/mod.rs#L29
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/mod.rs:29:5 | 29 | async fn handle(&self, req: Req, res: Res) -> Result<Res>; | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | `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/broker/handler/produce.rs#L11
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/produce.rs:11:5 | 11 | async fn handle( | ^---- | | | _____`async` because of this | | 12 | | &self, 13 | | req: ProduceRequest, 14 | | res: <ProduceRequest as Request>::Response, 15 | | ) -> anyhow::Result<<ProduceRequest as Request>::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/broker/handler/list_groups.rs#L6
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/list_groups.rs:6:5 | 6 | async fn handle( | ^---- | | | _____`async` because of this | | 7 | | &self, 8 | | _req: ListGroupsRequest, 9 | | res: ListGroupsResponse, 10 | | ) -> anyhow::Result<ListGroupsResponse> { | |___________________________________________^ | = 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/broker/handler/leader_and_isr.rs#L9
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/leader_and_isr.rs:9:5 | 9 | async fn handle( | ^---- | | | _____`async` because of this | | 10 | | &self, 11 | | req: LeaderAndIsrRequest, 12 | | res: LeaderAndIsrResponse, 13 | | ) -> anyhow::Result<LeaderAndIsrResponse> { | |_____________________________________________^ | = 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/broker/handler/find_coordinator.rs#L9
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/find_coordinator.rs:9:5 | 9 | async fn handle( | ^---- | | | _____`async` because of this | | 10 | | &self, 11 | | _: FindCoordinatorRequest, 12 | | mut res: FindCoordinatorResponse, 13 | | ) -> anyhow::Result<FindCoordinatorResponse> { | |________________________________________________^ | = 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/broker/handler/create_topics.rs#L131
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/create_topics.rs:131:5 | 131 | async fn handle( | ^---- | | | _____`async` because of this | | 132 | | &self, 133 | | req: CreateTopicsRequest, 134 | | mut res: CreateTopicsResponse, 135 | | ) -> Result<CreateTopicsResponse> { | |_____________________________________^ | = 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/broker/handler/api_versions.rs#L15
error[E0706]: functions in traits cannot be declared `async` --> src/broker/handler/api_versions.rs:15:5 | 15 | async fn handle( | ^---- | | | _____`async` because of this | | 16 | | &self, 17 | | _req: ApiVersionsRequest, 18 | | mut res: ApiVersionsResponse, 19 | | ) -> anyhow::Result<ApiVersionsResponse> { | |____________________________________________^ | = 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
Build and test: src/broker/handler/api_versions.rs#L15
functions in traits cannot be declared `async`
Build and test: src/broker/handler/create_topics.rs#L131
functions in traits cannot be declared `async`
Build and test: src/broker/handler/find_coordinator.rs#L9
functions in traits cannot be declared `async`
Build and test: src/broker/handler/leader_and_isr.rs#L9
functions in traits cannot be declared `async`
Build and test: src/broker/handler/list_groups.rs#L6
functions in traits cannot be declared `async`
Build and test: src/broker/handler/produce.rs#L11
functions in traits cannot be declared `async`
Build and test: src/broker/handler/mod.rs#L29
functions in traits cannot be declared `async`
Build and test: src/broker/handler/metadata.rs#L17
functions in traits cannot be declared `async`
Build and test: src/broker/handler/mod.rs#L22
functions in traits cannot be declared `async`
Build and test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
unused import: `TopicAlreadyExists`: src/broker/handler/metadata.rs#L8
warning: unused import: `TopicAlreadyExists` --> src/broker/handler/metadata.rs:8:37 | 8 | use kafka_protocol::ResponseError::{TopicAlreadyExists, UnknownTopicOrPartition}; | ^^^^^^^^^^^^^^^^^^
unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor`: src/broker/handler/create_topics.rs#L14
warning: unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor` --> src/broker/handler/create_topics.rs:14:5 | 14 | use kafka_protocol::ResponseError::InvalidReplicationFactor; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Build and test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and test: src/broker/handler/create_topics.rs#L14
unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor`
Build and test: src/broker/handler/metadata.rs#L8
unused import: `TopicAlreadyExists`
Build and test
`josefine` (lib) generated 2 warnings
Build and test
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/
Build and test
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/
Build and test
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/
Build and test
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/