chore(deps): update rust crate axum to 0.8.0 - autoclosed #5317
CI.yaml
on: pull_request
`cargo deny`
42s
Report Missing Dependencies
31s
Nix Build
0s
Matrix: ci
Matrix: Clippy!
Matrix: hadolint
Annotations
14 errors and 9 warnings
Hadolint [./distribution/charted/docker/debian.Dockerfile]:
distribution/charted/docker/debian.Dockerfile#L20
DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
|
Hadolint [./distribution/charted/docker/debian.Dockerfile]:
distribution/charted/docker/debian.Dockerfile#L43
DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
|
lifetime parameters or bounds on associated function `from_request` do not match the trait declaration:
crates/server/src/lib.rs#L40
error[E0195]: lifetime parameters or bounds on associated function `from_request` do not match the trait declaration
--> crates/server/src/extract/json.rs:40:14
|
40 | async fn from_request(req: extract::Request, state: &S) -> Result<Self, Self::Rejection> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match associated function in trait
|
lifetime parameters or bounds on associated function `from_request_parts` do not match the trait declaration:
crates/server/src/lib.rs#L34
error[E0195]: lifetime parameters or bounds on associated function `from_request_parts` do not match the trait declaration
--> crates/server/src/extract/path.rs:34:14
|
34 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match associated function in trait
|
lifetime parameters or bounds on associated function `from_request_parts` do not match the trait declaration:
crates/server/src/lib.rs#L33
error[E0195]: lifetime parameters or bounds on associated function `from_request_parts` do not match the trait declaration
--> crates/server/src/extract/query.rs:33:14
|
33 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match associated function in trait
|
lifetime parameters or bounds on associated function `from_request` do not match the trait declaration:
crates/server/src/lib.rs#L43
error[E0195]: lifetime parameters or bounds on associated function `from_request` do not match the trait declaration
--> crates/server/src/multipart.rs:43:14
|
43 | async fn from_request(req: Request, _: &S) -> Result<Self, Self::Rejection> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match associated function in trait
|
`dyn HttpBody<Data = Bytes, Error = Error> + Send` cannot be shared between threads safely:
crates/server/src/lib.rs#L92
error[E0277]: `dyn HttpBody<Data = Bytes, Error = Error> + Send` cannot be shared between threads safely
--> crates/server/src/routing/mod.rs:92:51
|
92 | Router::new().merge(mk_router!(cx, v1)).layer(stack)
| ----- ^^^^^ `dyn HttpBody<Data = Bytes, Error = Error> + Send` cannot be shared between threads safely
| |
| required by a bound introduced by this call
|
= note: the full name for the type has been written to '/home/runner/work/charted/charted/target/debug/deps/charted_server-8591d704a2c09173.long-type-8306642939507262253.txt'
= note: consider using `--verbose` to print the full type name to the console
= help: the trait `std::marker::Sync` is not implemented for `dyn HttpBody<Data = Bytes, Error = Error> + Send`
= note: required for `Unique<dyn HttpBody<Data = Bytes, Error = Error> + Send>` to implement `std::marker::Sync`
note: required because it appears within the type `Box<dyn HttpBody<Data = Bytes, Error = Error> + Send>`
--> /rustc/d117b7f211835282b3b177dc64245fff0327c04c/library/alloc/src/boxed.rs:231:12
note: required because it appears within the type `Pin<Box<dyn HttpBody<Data = Bytes, Error = Error> + Send>>`
--> /rustc/d117b7f211835282b3b177dc64245fff0327c04c/library/core/src/pin.rs:1089:12
note: required because it appears within the type `http_body_util::combinators::box_body::UnsyncBoxBody<axum::body::Bytes, axum::Error>`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/http-body-util-0.1.2/src/combinators/box_body.rs:17:12
|
17 | pub struct UnsyncBoxBody<D, E> {
| ^^^^^^^^^^^^^
note: required because it appears within the type `axum::body::Body`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-core-0.5.0/src/body.rs:39:12
|
39 | pub struct Body(BoxBody);
| ^^^^
note: required because it appears within the type `axum::http::Request<axum::body::Body>`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.2.0/src/request.rs:158:12
|
158 | pub struct Request<T> {
| ^^^^^^^
= note: required because it appears within the type `(std::sync::Arc<sentry::Hub>, axum::http::Request<axum::body::Body>)`
note: required because it appears within the type `PhantomData<(Arc<Hub>, Request<Body>)>`
--> /rustc/d117b7f211835282b3b177dc64245fff0327c04c/library/core/src/marker.rs:757:12
note: required because it appears within the type `SentryService<SentryHttpService<CatchPanic<..., ...>>, ..., ..., ...>`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sentry-tower-0.35.0/src/lib.rs:246:12
|
246 | pub struct SentryService<S, P, H, Request>
| ^^^^^^^^^^^^^
note: required by a bound in `axum::Router::<S>::layer`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.0/src/routing/mod.rs:300:55
|
297 | pub fn layer<L>(self, layer: L) -> Router<S>
| ----- required by a bound in this associated function
...
300 | L::Service: Service<Request> + Clone + Send + Sync + 'static,
| ^^^^ required by this bound in `Router::<S>::layer`
= note: the full name for the type has been written to '/home/runner/work/charted/charted/target/debug/deps/charted_server-8591d704a2c09173.long-type-18030565857033432803.txt'
= note: consider using `--verbose` to print the full type name to the console
|
Clippy! (nightly)
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
Clippy! (nightly)
{
"rendered": "Some errors have detailed explanations: E0195, E0277.\n",
"$message_type": "diagnostic",
"children": [],
"code": null,
"level": "failure-note",
"message": "Some errors have detailed explanations: E0195, E0277.",
"spans": []
}
|
Rust CI (Linux (x86_64), Rust nightly)
Process completed with exit code 101.
|
Rust CI (macOS (x86_64), Rust nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI (macOS (x86_64), Rust nightly)
Process completed with exit code 101.
|
Rust CI (Windows, Rust nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI (Windows, Rust nightly)
The operation was canceled.
|
Hadolint [./distribution/helm-plugin/docker/Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Hadolint [./distribution/charted/docker/alpine.Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Hadolint [./distribution/charted/docker/debian.Dockerfile]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Report Missing Dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
`cargo deny`
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Clippy! (nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
the following explicit lifetimes could be elided: 'de:
crates/core/src/lib.rs#L87
warning: the following explicit lifetimes could be elided: 'de
--> crates/core/src/serde/duration.rs:87:14
|
87 | impl<'de> serde::de::Visitor<'de> for Visitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
87 - impl<'de> serde::de::Visitor<'de> for Visitor {
87 + impl serde::de::Visitor<'_> for Visitor {
|
|
the feature `entry_insert` has been stable since 1.83.0 and no longer requires an attribute to enable:
crates/server/src/lib.rs#L16
warning: the feature `entry_insert` has been stable since 1.83.0 and no longer requires an attribute to enable
--> crates/server/src/lib.rs:16:36
|
16 | #![feature(never_type, decl_macro, entry_insert)]
| ^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
Rust CI (Linux (x86_64), Rust nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|