Skip to content

fix(deps): update rust crate tower-http to 0.5 #44

fix(deps): update rust crate tower-http to 0.5

fix(deps): update rust crate tower-http to 0.5 #44

Triggered via push May 5, 2024 09:45
Status Failure
Total duration 1m 7s
Artifacts

rust.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 8 warnings
the trait bound `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>: tower::Service<axum::http::Request<_>>` is not satisfied: src/http/mod.rs#L45
error[E0277]: the trait bound `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>: tower::Service<axum::http::Request<_>>` is not satisfied --> src/http/mod.rs:45:13 | 44 | .layer( | ----- required by a bound introduced by this call 45 | / TraceLayer::new_for_http().make_span_with( 46 | | DefaultMakeSpan::new() 47 | | .level(Level::TRACE) 48 | | .include_headers(true), 49 | | ), | |_____________^ the trait `tower::Service<axum::http::Request<_>>` is not implemented for `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>` | = help: the trait `tower::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::trace::Trace<S, M, MakeSpanT, OnRequestT, OnResponseT, OnBodyChunkT, OnEosT, OnFailureT>` note: the method call chain might not have had the expected associated types --> src/http/mod.rs:45:40 | 45 | TraceLayer::new_for_http().make_span_with( | _____________--------------------------_^ | | | | | this expression has type `TraceLayer<SharedClassifier<ServerErrorsAsFailures>>` 46 | | DefaultMakeSpan::new() 47 | | .level(Level::TRACE) 48 | | .include_headers(true), 49 | | ), | |_____________^ `Layer::Service` is `Trace<_, SharedClassifier<ServerErrorsAsFailures>>` here note: required by a bound in `axum::Router::<S, B>::layer` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:236:21 | 233 | pub fn layer<L, NewReqBody>(self, layer: L) -> Router<S, NewReqBody> | ----- required by a bound in this associated function ... 236 | L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Router::<S, B>::layer`
clippy
Clippy had exited with the 101 exit code
build-example
Process completed with exit code 101.
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
build-example
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-example
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/
build-example
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-example
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-example
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-example
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/