Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Update tower-http requirement from 0.4.4 to 0.5.0 #74

Update tower-http requirement from 0.4.4 to 0.5.0

Update tower-http requirement from 0.4.4 to 0.5.0 #74

Triggered via pull request November 22, 2023 13:12
Status Failure
Total duration 2m 30s
Artifacts

safety.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<axum::body::Body>>` is not satisfied: src/bin/api.rs#L1172
error[E0277]: the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<axum::body::Body>>` is not satisfied --> src/bin/api.rs:1172:37 | 1172 | Router::new().nest_service("/", get_service(ServeDir::new("./assets"))) | ^^^^^^^^^^^ the trait `tower_service::Service<axum::http::Request<axum::body::Body>>` is not implemented for `tower_http::services::ServeDir` | = help: the trait `tower_service::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::services::ServeDir<F>`
the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<_>>` is not satisfied: src/bin/api.rs#L1172
error[E0277]: the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<_>>` is not satisfied --> src/bin/api.rs:1172:49 | 1172 | Router::new().nest_service("/", get_service(ServeDir::new("./assets"))) | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service<axum::http::Request<_>>` is not implemented for `tower_http::services::ServeDir` | | | required by a bound introduced by this call | = help: the trait `tower_service::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::services::ServeDir<F>` note: required by a bound in `axum::routing::get_service` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/method_routing.rs:292:1 | 292 | top_level_service_fn!(get_service, GET); | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^ | | | | | required by a bound in this function | required by this bound in `get_service` = note: this error originates in the macro `top_level_service_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<axum::body::Body>>` is not satisfied: src/bin/api.rs#L1172
error[E0277]: the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<axum::body::Body>>` is not satisfied --> src/bin/api.rs:1172:37 | 1172 | Router::new().nest_service("/", get_service(ServeDir::new("./assets"))) | ^^^^^^^^^^^ the trait `tower_service::Service<axum::http::Request<axum::body::Body>>` is not implemented for `tower_http::services::ServeDir` | = help: the trait `tower_service::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::services::ServeDir<F>`
the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<_>>` is not satisfied: src/bin/api.rs#L1172
error[E0277]: the trait bound `tower_http::services::ServeDir: tower_service::Service<axum::http::Request<_>>` is not satisfied --> src/bin/api.rs:1172:49 | 1172 | Router::new().nest_service("/", get_service(ServeDir::new("./assets"))) | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service<axum::http::Request<_>>` is not implemented for `tower_http::services::ServeDir` | | | required by a bound introduced by this call | = help: the trait `tower_service::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::services::ServeDir<F>` note: required by a bound in `axum::routing::get_service` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/method_routing.rs:292:1 | 292 | top_level_service_fn!(get_service, GET); | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^ | | | | | required by a bound in this function | required by this bound in `get_service` = note: this error originates in the macro `top_level_service_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
miri
Process completed with exit code 1.
sanitizers
Process completed with exit code 101.
sanitizers
Process completed with exit code 101.