Skip to content

fix(deps): update rust crate axum to 0.8.0 #331

fix(deps): update rust crate axum to 0.8.0

fix(deps): update rust crate axum to 0.8.0 #331

Triggered via push January 7, 2025 12:30
Status Failure
Total duration 53s
Artifacts

ci.yml

on: push
fmt check
14s
fmt check
clippy check
43s
clippy check
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
`(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)` cannot be shared between threads safely: src/main.rs#L237
error[E0277]: `(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)` cannot be shared between threads safely --> src/main.rs:237:16 | 237 | .layer(layer); | ----- ^^^^^ `(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)` cannot be shared between threads safely | | | required by a bound introduced by this call | = help: the trait `std::marker::Sync` is not implemented for `(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)`, which is required by `sentry::integrations::sentry_tower::SentryService<sentry::integrations::sentry_tower::SentryHttpService<axum::routing::Route>, sentry::integrations::sentry_tower::NewFromTopProvider, std::sync::Arc<sentry::Hub>, axum::http::Request<axum::body::Body>>: std::marker::Sync` = note: required for `std::ptr::Unique<(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)>` to implement `std::marker::Sync` note: required because it appears within the type `std::boxed::Box<(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)>` --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:235:12 note: required because it appears within the type `std::pin::Pin<std::boxed::Box<(dyn axum::body::HttpBody<Data = bytes::Bytes, Error = axum::Error> + std::marker::Send + 'static)>>` --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/pin.rs:1089:12 note: required because it appears within the type `http_body_util::combinators::box_body::UnsyncBoxBody<bytes::Bytes, axum::Error>` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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 `std::marker::PhantomData<(std::sync::Arc<sentry::Hub>, axum::http::Request<axum::body::Body>)>` --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/marker.rs:741:12 note: required because it appears within the type `SentryService<SentryHttpService<Route>, NewFromTopProvider, Arc<Hub>, Request<Body>>` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/axum-0.8.1/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/gachadata-server/gachadata-server/server/target/debug/deps/gachadata_server-93b4054993b59a9e.long-type-10428617716725087932.txt' = note: consider using `--verbose` to print the full type name to the console
clippy check
Clippy had exited with the 101 exit code: info: syncing channel updates for '1.82.0-x86_64-unknown-linux-gnu' info: latest update on 2024-10-17, rust version 1.82.0 (f6e511eec 2024-10-15) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: installing component 'rust-std' info: installing component 'rustc' info: installing component 'rustfmt' Updating crates.io index Downloading crates ... Downloaded cfg_aliases v0.2.1 Downloaded matchers v0.1.0 Downloaded pin-utils v0.1.0 Downloaded rand_core v0.6.4 Downloaded rustc_version v0.4.1 Downloaded rustversion v1.0.18 Downloaded sentry-debug-images v0.35.0 Downloaded sentry-types v0.35.0 Downloaded sentry-backtrace v0.35.0 Downloaded serde v1.0.215 Downloaded regex-automata v0.1.10 Downloaded zerofrom v0.1.5 Downloaded zerovec-derive v0.10.3 Downloaded yoke v0.7.5 Downloaded unicode-ident v1.0.14 Downloaded tracing v0.1.41 Downloaded url v2.5.4 Downloaded ureq v2.12.0 Downloaded zerovec v0.10.4 Downloaded regex-syntax v0.6.29 Downloaded zerocopy v0.7.35 Downloaded object v0.36.5 Downloaded regex v1.11.1 Downloaded rustls v0.23.19 Downloaded regex-syntax v0.8.5 Downloaded webpki-roots v0.26.7 Downloaded syn v2.0.90 Downloaded gimli v0.31.1 Downloaded tokio-util v0.7.13 Downloaded tower v0.5.2 Downloaded quinn-proto v0.11.9 Downloaded icu_properties_data v1.5.0 Downloaded hyper v1.5.1 Downloaded tracing-core v0.1.33 Downloaded time v0.3.37 Downloaded reqwest v0.12.9 Downloaded writeable v0.5.5 Downloaded regex-automata v0.4.9 Downloaded uuid v1.11.0 Downloaded utf16_iter v1.0.5 Downloaded futures-util v0.3.31 Downloaded aho-corasick v1.1.3 Downloaded zeroize v1.8.1 Downloaded libc v0.2.167 Downloaded zerofrom-derive v0.1.5 Downloaded zerocopy-derive v0.7.35 Downloaded want v0.3.1 Downloaded utf8_iter v1.0.4 Downloaded untrusted v0.9.0 Downloaded tracing-log v0.2.0 Downloaded tokio-rustls v0.26.0 Downloaded tokio v1.42.0 Downloaded tokio-macros v2.4.0 Downloaded time-macros v0.2.19 Downloaded axum v0.8.1 Downloaded yoke-derive v0.7.5 Downloaded write16 v1.0.0 Downloaded uname v0.1.1 Downloaded try-lock v0.2.5 Downloaded tracing-subscriber v0.3.19 Downloaded tracing-attributes v0.1.28 Downloaded tower-service v0.3.3 Downloaded tower-layer v0.3.3 Downloaded tinyvec_macros v0.1.1 Downloaded tinyvec v1.8.0 Downloaded tinystr v0.7.6 Downloaded time-core v0.1.2 Downloaded thread_local v1.1.8 Downloaded thiserror-impl v2.0.4 Downloaded thiserror-impl v1.0.69 Downloaded thiserror v2.0.4 Downloaded thiserror v1.0.69 Downloaded synstructure v0.13.1 Downloaded sync_wrapper v1.0.2 Downloaded subtle v2.6.1 Downloaded stable_deref_trait v1.2.0 Downloa
fmt check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636