gistfile1.txt
error[E0277]: `dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send` cannot be shared between threads safely
--> src\server.rs:115:68
|
115 | let get_authorize = warp::path("authorize").and(warp::query()).and_then(
| ^^^^^^^^ `dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send` cannot be shared between threads safely
|
= help: the trait `std::marker::Sync` is not implemented for `dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send`
= note: required because of the requirements on the impl of `std::marker::Send` for `&dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send`
= note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13> {std::future::ResumeTy, &'r mut (dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send + 's), &'t0 (dyn oxide_auth::code_grant::authorization::Request + std::marker::Sync + 't1), oxide_auth::code_grant::authorization::Authorization, oxide_auth_async::code_grant::authorization::authorization_code::{{closure}}#0::Requested, std::option::Option<url::Url>, std::string::String, oxide_auth::primitives::registrar::ClientUrl<'t2>, &'t3 (dyn oxide_auth_async::code_grant::authorization::Endpoint + std::marker::Send
+ 't4), &'t5 (dyn oxide_auth_async::primitives::Registrar + 't6), std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<oxide_auth::primitives::registrar::BoundClient<'t7>, oxide_auth::primitives::registrar::RegistrarError>> + std::marker::Send + 't8)>>, (), &'t9 mut (dyn oxide_auth_async::code_grant::authorization::Extension + 't10), std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<oxide_auth::primitives::grant::Extensions, ()>> + std::marker::Send + 't11)>>, url::Url, std::option::Option<oxide_auth::primitives::scope::Scope>, oxide_auth::primitives::registrar::BoundClient<'t12>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<oxide_auth::primitives::registrar::PreGrant, oxide_auth::primitives::registrar::RegistrarError>> + std::marker::Send + 't13)>>}`
This file has been truncated. show original